Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update index.ts

Nicolasb5b75086c193
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 060f67544..1cd03eb05 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -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);