This commit is contained in:
Nicolas 2024-10-03 18:41:48 -03:00
commit 75658c58a2

View File

@ -94,8 +94,8 @@ const processJobInternal = async (token: string, job: Job) => {
let isShuttingDown = false;
process.on("SIGINT", () => {
console.log("Received SIGINT. Shutting down gracefully...");
process.on("SIGTERM", () => {
console.log("Received SIGTERM. Shutting down gracefully...");
isShuttingDown = true;
});