aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-10 10:54:49 +0100
committerChocobozzz <me@florianbigard.com>2018-12-11 09:18:01 +0100
commit9f8ca79284f93693c734dd4b9a27b471017fc441 (patch)
treec30eb712107da1602d1760162e75e347bf71c09b /server/lib/job-queue
parent2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f (diff)
downloadPeerTube-9f8ca79284f93693c734dd4b9a27b471017fc441.tar.gz
PeerTube-9f8ca79284f93693c734dd4b9a27b471017fc441.tar.zst
PeerTube-9f8ca79284f93693c734dd4b9a27b471017fc441.zip
Don't quit on queue error
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/job-queue.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts
index 5862e178f..e34be7dcd 100644
--- a/server/lib/job-queue/job-queue.ts
+++ b/server/lib/job-queue/job-queue.ts
@@ -88,7 +88,6 @@ class JobQueue {
88 88
89 queue.on('error', err => { 89 queue.on('error', err => {
90 logger.error('Error in job queue %s.', handlerName, { err }) 90 logger.error('Error in job queue %s.', handlerName, { err })
91 process.exit(-1)
92 }) 91 })
93 92
94 this.queues[handlerName] = queue 93 this.queues[handlerName] = queue