fix(core): update

This commit is contained in:
2021-04-23 18:41:30 +00:00
parent d18f4b6928
commit 17b59fd222
14 changed files with 79 additions and 46 deletions

View File

@@ -79,12 +79,11 @@ export class LevelCache extends AbstractCache {
}
}
public async checkKeyPresence(keyArg: string): Promise<boolean> {
return plugins.smartpromise.getFirstTrueOrFalse([
this.cacheMemoryManager.checkKeyPresence(keyArg),
this.cacheDiskManager.checkKeyPresence(keyArg),
this.cacheS3Manager.checkKeyPresence(keyArg)
this.cacheS3Manager.checkKeyPresence(keyArg),
]);
}