mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Change the gracefull shutdown signal
This commit is contained in:
parent
497ac3328b
commit
28b64fc704
|
@ -94,8 +94,8 @@ const processJobInternal = async (token: string, job: Job) => {
|
||||||
|
|
||||||
let isShuttingDown = false;
|
let isShuttingDown = false;
|
||||||
|
|
||||||
process.on("SIGINT", () => {
|
process.on("SIGTERM", () => {
|
||||||
console.log("Received SIGINT. Shutting down gracefully...");
|
console.log("Received SIGTERM. Shutting down gracefully...");
|
||||||
isShuttingDown = true;
|
isShuttingDown = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user