mirror of https://github.com/apache/jclouds.git
Skip exponential backoff if we exceed maxErrors
This commit is contained in:
parent
dce830adb9
commit
25b012587d
|
@ -179,6 +179,9 @@ public class DeleteAllKeysInList implements ClearListStrategy, ClearContainerStr
|
|||
|
||||
if (!exceptions.isEmpty()) {
|
||||
++numErrors;
|
||||
if (numErrors == maxErrors) {
|
||||
break;
|
||||
}
|
||||
retryHandler.imposeBackoffExponentialDelay(numErrors, message);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue