reset index to 0, not to 1
This commit is contained in:
parent
0d550ff4b8
commit
10cca4f9ca
|
@ -57,7 +57,7 @@ OUTER:
|
|||
if err != nil {
|
||||
// Perform an exponential backoff
|
||||
failures++
|
||||
p.lastIndex = 1
|
||||
p.lastIndex = 0
|
||||
retry := retryInterval * time.Duration(failures*failures)
|
||||
if retry > maxBackoffTime {
|
||||
retry = maxBackoffTime
|
||||
|
|
Loading…
Reference in New Issue