aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-08 10:42:08 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 09:18:07 +0200
commit5a921e7b74910414626bfc9672b857e987e3ebed (patch)
treef627e2ccc11c55bcba9e630951e72c5f94864c12 /server.ts
parent5e2afe4290103bf0d54ae7b3e62781f2a00487c9 (diff)
downloadPeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.tar.gz
PeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.tar.zst
PeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.zip
Move to bullmq
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))