From 4a9e71c2b1ef57de01cd04984348b3957ebbc21d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 30 Jul 2018 19:18:01 +0200 Subject: Increase max stalled count in job queue --- server/lib/job-queue/job-queue.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/lib/job-queue/job-queue.ts') diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts index 157c57ba9..8ff0c169e 100644 --- a/server/lib/job-queue/job-queue.ts +++ b/server/lib/job-queue/job-queue.ts @@ -64,7 +64,10 @@ class JobQueue { this.jobRedisPrefix = 'bull-' + CONFIG.WEBSERVER.HOST const queueOptions = { prefix: this.jobRedisPrefix, - redis: Redis.getRedisClient() + redis: Redis.getRedisClient(), + settings: { + maxStalledCount: 10 // transcoding could be long, so jobs can often be interrupted by restarts + } } for (const handlerName of Object.keys(handlers)) { -- cgit v1.2.3