Skip to content

Commit

Permalink
perf(files_reminders): Use in-memory cache
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Feb 13, 2025
1 parent f6a3145 commit 33ef228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_reminders/lib/Service/ReminderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(
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 {
Expand Down

0 comments on commit 33ef228

Please sign in to comment.