don't queue dump if generate=false

This commit is contained in:
Michael C 2021-10-24 16:19:40 -04:00
parent 6bcc4cdfa3
commit 6be034362b
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -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 {