Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 0ab15e4

Browse files
committed
fixed quota cache invalidation
1 parent ba86157 commit 0ab15e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cryptomator/cloudaccess/MetadataCachingProviderDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public CompletionStage<Quota> quota(CloudPath folder) {
6060
return quotaCache.get(folder, () -> delegate.quota(folder).whenComplete((metadata, throwable) -> {
6161
// immediately invalidate cache in case of exceptions (except for NOT FOUND and QUOTA NOT AVAILABLE):
6262
if (throwable != null && !(throwable instanceof NotFoundException) && !(throwable instanceof QuotaNotAvailableException)) {
63-
itemMetadataCache.invalidate(folder);
63+
quotaCache.invalidate(folder);
6464
}
6565
}));
6666
} catch (ExecutionException e) {

0 commit comments

Comments
 (0)