mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Fix infinate look in retry
This commit is contained in:
parent
7cd2f32d7e
commit
3c946daf88
@ -29,6 +29,7 @@ func (r *retryer) On(method func() error) error {
|
|||||||
return RetryFailed
|
return RetryFailed
|
||||||
}
|
}
|
||||||
<-time.After(time.Duration(delay) * time.Millisecond)
|
<-time.After(time.Duration(delay) * time.Millisecond)
|
||||||
|
attempt++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user