remove infinity caches

This commit is contained in:
Hazel K 2024-08-03 13:42:23 -04:00
parent 114b698034
commit bc236a4bd2
4 changed files with 8 additions and 8 deletions

View file

@ -37,7 +37,7 @@ export class AuthenticateService implements OnApplicationShutdown {
private cacheService: CacheService,
) {
this.appCache = new MemoryKVCache<MiApp>(Infinity);
this.appCache = new MemoryKVCache<MiApp>(1000 * 60 * 60 * 24 * 7); // 1w
}
@bindThis