mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-18 18:39:07 -04:00
Fix infinate look in retry
This commit is contained in:
@@ -29,6 +29,7 @@ func (r *retryer) On(method func() error) error {
|
||||
return RetryFailed
|
||||
}
|
||||
<-time.After(time.Duration(delay) * time.Millisecond)
|
||||
attempt++
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user