From 59cb6efb24e9bae94c7f4c6b383046db04ee86d6 Mon Sep 17 00:00:00 2001 From: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:25:54 +0100 Subject: [PATCH] fix(files_reminders): reduce N+1 query issue for big folders Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> --- apps/files_reminders/lib/Service/ReminderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_reminders/lib/Service/ReminderService.php b/apps/files_reminders/lib/Service/ReminderService.php index 6ee395620765c..d4414d7bf583f 100644 --- a/apps/files_reminders/lib/Service/ReminderService.php +++ b/apps/files_reminders/lib/Service/ReminderService.php @@ -44,7 +44,7 @@ public function __construct( protected LoggerInterface $logger, protected ICacheFactory $cacheFactory, ) { - $this->cache = $this->cacheFactory->createInMemory(); + $this->cache = $this->cacheFactory->createInMemory(30000); } public function cacheFolder(IUser $user, Folder $folder): void {