diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-08 10:42:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-09 09:18:07 +0200 |
commit | 5a921e7b74910414626bfc9672b857e987e3ebed (patch) | |
tree | f627e2ccc11c55bcba9e630951e72c5f94864c12 /server.ts | |
parent | 5e2afe4290103bf0d54ae7b3e62781f2a00487c9 (diff) | |
download | PeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.tar.gz PeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.tar.zst PeerTube-5a921e7b74910414626bfc9672b857e987e3ebed.zip |
Move to bullmq
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |