Fix infinate look in retry

pull/45/head
V2Ray 9 years ago
parent 7cd2f32d7e
commit 3c946daf88

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

Loading…
Cancel
Save