From 34b53510d7943b288bc96fefddb1026f9c50eb9a Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 7 Oct 2024 01:42:13 +0530 Subject: [PATCH] chore: lint --- server/src/worker.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/src/worker.ts b/server/src/worker.ts index c75104d1..3afb39c5 100644 --- a/server/src/worker.ts +++ b/server/src/worker.ts @@ -47,4 +47,9 @@ async function jobCounts() { jobCounts(); +process.on('SIGINT', () => { + console.log('Worker shutting down...'); + process.exit(); +}); + export { workflowQueue, worker }; \ No newline at end of file