1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 22:45:24 +00:00

Fix infinate look in retry

This commit is contained in:
V2Ray 2015-10-14 00:57:00 +02:00
parent 7cd2f32d7e
commit 3c946daf88

View File

@ -29,6 +29,7 @@ func (r *retryer) On(method func() error) error {
return RetryFailed
}
<-time.After(time.Duration(delay) * time.Millisecond)
attempt++
}
}