mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
don't queue dump if generate=false
This commit is contained in:
parent
6bcc4cdfa3
commit
6be034362b
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ export async function redirectLink(req: Request, res: Response): Promise<void> {
|
|||
res.sendStatus(404);
|
||||
}
|
||||
|
||||
await queueDump();
|
||||
if (req.query.generate !== "false") await queueDump();
|
||||
}
|
||||
|
||||
function updateQueueTime(): void {
|
||||
|
|
Loading…
Reference in a new issue