1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

use addMany instead of setMany when populating quantum caches from DB

This commit is contained in:
Hazelnoot
2025-06-06 02:14:20 -04:00
parent b7624666d6
commit 9853a4f3bd

View File

@@ -342,7 +342,7 @@ export class CacheService implements OnApplicationShutdown {
}
// Update cache to speed up future calls
await this.userFollowingsCache.setMany(toCache.entries());
this.userFollowingsCache.addMany(toCache);
}
return followings;
@@ -395,7 +395,7 @@ export class CacheService implements OnApplicationShutdown {
}
// Update cache to speed up future calls
await this.userBlockedCache.setMany(toCache.entries());
this.userBlockedCache.addMany(toCache);
}
return blockers;