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