mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fix active requests list not getting deleted
This commit is contained in:
parent
c313590d36
commit
6e5f4f7610
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue