mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-09 16:52:13 +01:00
Fix ttl cache key not properly cleared
This commit is contained in:
parent
b2f7e1b39b
commit
f841d8173b
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ async function setupCacheClientListener(cacheClient: RedisClientType,
|
|||
lastInvalidation = Date.now();
|
||||
}
|
||||
|
||||
ttlCache.get(key);
|
||||
ttlCache.delete(key);
|
||||
|
||||
// To tell it to not save the result of this currently running request
|
||||
if (key && activeRequestPromises[key] !== undefined) {
|
||||
|
|
Loading…
Reference in a new issue