mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 19:47:00 +03:00
Fix active requests list not getting deleted
This commit is contained in:
@@ -153,7 +153,7 @@ if (config.redis?.enabled) {
|
||||
|
||||
activeRequestPromises[key as string] = request;
|
||||
|
||||
void request.then(() => delete activeRequestPromises[key as string]);
|
||||
void request.finally(() => delete activeRequestPromises[key as string]);
|
||||
|
||||
return request;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user