diff --git a/blobstore/src/main/java/org/jclouds/blobstore/strategy/internal/DeleteAllKeysInList.java b/blobstore/src/main/java/org/jclouds/blobstore/strategy/internal/DeleteAllKeysInList.java index 52e02e346b..7da98da1a6 100644 --- a/blobstore/src/main/java/org/jclouds/blobstore/strategy/internal/DeleteAllKeysInList.java +++ b/blobstore/src/main/java/org/jclouds/blobstore/strategy/internal/DeleteAllKeysInList.java @@ -179,6 +179,9 @@ public class DeleteAllKeysInList implements ClearListStrategy, ClearContainerStr if (!exceptions.isEmpty()) { ++numErrors; + if (numErrors == maxErrors) { + break; + } retryHandler.imposeBackoffExponentialDelay(numErrors, message); continue; }