Browse Source

reset wait time

pull/2321/head
Chris Lu 3 years ago
parent
commit
11a496404b
  1. 1
      weed/util/retry.go

1
weed/util/retry.go

@ -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) {

Loading…
Cancel
Save