fix: unpause globally

This commit is contained in:
Gergo Moricz 2024-07-12 00:05:35 +02:00
parent ee1d41406e
commit 7e3a368684

View File

@ -155,7 +155,7 @@ if (cluster.isMaster) {
}); });
app.post(`/admin/${process.env.BULL_AUTH_KEY}/unpause`, async (req, res) => { app.post(`/admin/${process.env.BULL_AUTH_KEY}/unpause`, async (req, res) => {
await getWebScraperQueue().resume(true); await getWebScraperQueue().resume(false);
res.json({ ok: true }); res.json({ ok: true });
}); });