1
0

implement userFollowersCache

This commit is contained in:
Hazelnoot
2025-06-07 21:32:55 -04:00
parent 853b548a43
commit 372714c9b6
2 changed files with 21 additions and 2 deletions
+6
View File
@@ -112,6 +112,12 @@ export class NoOpCacheService extends CacheService {
onSet: this.userFollowingsCache.onSet,
onDelete: this.userFollowingsCache.onDelete,
});
this.userFollowersCache = new NoOpQuantumKVCache<Set<string>>({
internalEventService: fakeInternalEventService,
fetcher: this.userFollowersCache.fetcher,
onSet: this.userFollowersCache.onSet,
onDelete: this.userFollowersCache.onDelete,
});
this.userFollowStatsCache = new NoOpMemoryKVCache<FollowStats>();
this.translationsCache = new NoOpRedisKVCache<CachedTranslationEntity>({
redis: fakeRedis,