mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-16 20:25:53 +08:00
Update index.ts
This commit is contained in:
parent
c07a1912e9
commit
b5b75086c1
@ -118,7 +118,7 @@ if (cluster.isMaster) {
|
|||||||
|
|
||||||
app.post(`/admin/${process.env.BULL_AUTH_KEY}/shutdown`, async (req, res) => {
|
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 {
|
try {
|
||||||
console.log("Gracefully shutting down...");
|
console.log("Gracefully shutting down...");
|
||||||
await getWebScraperQueue().pause(false, true);
|
await getWebScraperQueue().pause(false, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user