> }
>
> - private boolean parentIsFolder(final ListContainerOptions options, final
> StorageMetadata md) {
> - return options.getDir() != null && md.getName().indexOf('/') == -1;
> + private void waitForCompletion(final Semaphore semaphore,
> + final Set<ListenableFuture<Void>> outstandingFutures) {
> + // Wait for all futures to complete by waiting to acquire all
> + // semaphores.
> + try {
> + // TODO: Each individual blob delete operation itself has a time
> + // limit of 'maxTime'. Therefore having a time limit for this
> + // semaphore acquisition provides little value. This could be
> + // removed.
I removed the timeout as the comment suggests since we can easily encounter
this situation with large containers.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/214/files#r10997822