From aa36c72e8f51ea4bc51e64914c72686be39ac8bb Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Mon, 7 Apr 2025 15:12:41 +0200 Subject: [PATCH] perf: Increase cache TTL for mount point conflict cache Signed-off-by: Julius Knorr --- apps/files_sharing/lib/SharedMount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 5f7e8f376f1..c8f021af233 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount, ISharedMountPoint $this->updateFileTarget($newMountPoint, $share); } - $this->cache->set($cacheKey, $newMountPoint, 60 * 60); + $this->cache->set($cacheKey, $newMountPoint, 2 * 24 * 60 * 60); return $newMountPoint; }