fix(caching): properly respect ttl for all cache levels

This commit is contained in:
2021-05-10 14:26:32 +00:00
parent f7b6df5ff7
commit 6b57e8b1f3
7 changed files with 88 additions and 20 deletions

View File

@@ -38,7 +38,13 @@ export class CacheMemoryManager extends AbstractCache {
}
}
public async clean() {
public async deleteCacheEntryByKey(keyArg: string) {
this.fastMap.removeFromMap(keyArg);
}
public async cleanOutdated() {}
public async cleanAll() {
this.fastMap.clean();
}
}