Fixing forgotten timeout in retry
This commit is contained in:
parent
b42cc5c811
commit
49248b6d62
@ -21,6 +21,7 @@ func Retry(
|
|||||||
return true, errs
|
return true, errs
|
||||||
}
|
}
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
|
time.Sleep(waitBeforeRetry)
|
||||||
}
|
}
|
||||||
return false, errs
|
return false, errs
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user