aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2025-01-31 14:51:48 -0800
committerChristopher Ng <chrng8@gmail.com>2025-02-20 14:13:09 -0800
commit48744e1df04dc5594f7a7ac396efe3972d17f8cc (patch)
tree0d3d7e2741fbd3ce3e094135acab12a497b916bb
parentc69cf92759a93e68a0d9b1ee63e5fde9a3e79dab (diff)
downloadnextcloud-server-48744e1df04dc5594f7a7ac396efe3972d17f8cc.tar.gz
nextcloud-server-48744e1df04dc5594f7a7ac396efe3972d17f8cc.zip
perf(files_reminders): Use in-memory cache
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--apps/files_reminders/lib/Service/ReminderService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_reminders/lib/Service/ReminderService.php b/apps/files_reminders/lib/Service/ReminderService.php
index 1d6c644e2ce..45b89a272a3 100644
--- a/apps/files_reminders/lib/Service/ReminderService.php
+++ b/apps/files_reminders/lib/Service/ReminderService.php
@@ -44,7 +44,7 @@ class ReminderService {
protected LoggerInterface $logger,
protected ICacheFactory $cacheFactory,
) {
- $this->cache = $this->cacheFactory->createDistributed('files_reminders');
+ $this->cache = $this->cacheFactory->createInMemory();
}
public function cacheFolder(IUser $user, Folder $folder): void {