perf(files_reminders): Use in-memory cache

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2025-01-31 14:51:48 -08:00 committed by Pytal
parent c97589997f
commit 2015cd87fd

View file

@ -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 {