diff --git a/ui/cli/src/main/groovy/com/github/thetric/iliasdownloader/cli/sync/SyncHandlerImpl.groovy b/ui/cli/src/main/groovy/com/github/thetric/iliasdownloader/cli/sync/SyncHandlerImpl.groovy index 01f693e..1c1f11b 100644 --- a/ui/cli/src/main/groovy/com/github/thetric/iliasdownloader/cli/sync/SyncHandlerImpl.groovy +++ b/ui/cli/src/main/groovy/com/github/thetric/iliasdownloader/cli/sync/SyncHandlerImpl.groovy @@ -45,7 +45,7 @@ final class SyncHandlerImpl implements SyncHandler { return parentItemPath.resolve(sanitizeFileName(iliasItem.name)) } - @Memoized + @Memoized(maxCacheSize = 5) private Path resolvePathOfParent(IliasItem parentItem) { if (!parentItem) { return basePath