Update index.ts

This commit is contained in:
Nicolas 2024-07-12 10:44:14 -04:00
parent c07a1912e9
commit b5b75086c1

View File

@ -118,7 +118,7 @@ if (cluster.isMaster) {
app.post(`/admin/${process.env.BULL_AUTH_KEY}/shutdown`, async (req, res) => {
return res.status(200).json({ ok: true });
// return res.status(200).json({ ok: true });
try {
console.log("Gracefully shutting down...");
await getWebScraperQueue().pause(false, true);