1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-14 14:43:11 +02:00

reset wait time

This commit is contained in:
Chris Lu 2021-09-02 19:55:01 -07:00
parent 7f2a8246a9
commit 11a496404b

View file

@ -37,6 +37,7 @@ func RetryForever(name string, job func() error, onErrFn func(err error) bool) {
for {
err := job()
if err == nil {
waitTime = time.Second
break
}
if onErrFn(err) {