aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index aaf1ea021..3b9353e2f 100644
--- a/server.ts
+++ b/server.ts
@@ -352,6 +352,7 @@ async function startApplication () {
352 352
353 process.on('exit', () => { 353 process.on('exit', () => {
354 JobQueue.Instance.terminate() 354 JobQueue.Instance.terminate()
355 .catch(err => logger.error('Cannot terminate job queue.', { err }))
355 }) 356 })
356 357
357 process.on('SIGINT', () => process.exit(0)) 358 process.on('SIGINT', () => process.exit(0))