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 provokateurin
parent 6a12408cbe
commit 04c2116663
No known key found for this signature in database

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 {