From: Chocobozzz Date: Mon, 10 Dec 2018 09:54:49 +0000 (+0100) Subject: Don't quit on queue error X-Git-Tag: v1.2.0-rc.1~82 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9f8ca79284f93693c734dd4b9a27b471017fc441;p=github%2FChocobozzz%2FPeerTube.git Don't quit on queue error --- 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 { queue.on('error', err => { logger.error('Error in job queue %s.', handlerName, { err }) - process.exit(-1) }) this.queues[handlerName] = queue