aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/lib/job-queue/job-queue.ts5
1 files changed, 4 insertions, 1 deletions
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 {
64 this.jobRedisPrefix = 'bull-' + CONFIG.WEBSERVER.HOST 64 this.jobRedisPrefix = 'bull-' + CONFIG.WEBSERVER.HOST
65 const queueOptions = { 65 const queueOptions = {
66 prefix: this.jobRedisPrefix, 66 prefix: this.jobRedisPrefix,
67 redis: Redis.getRedisClient() 67 redis: Redis.getRedisClient(),
68 settings: {
69 maxStalledCount: 10 // transcoding could be long, so jobs can often be interrupted by restarts
70 }
68 } 71 }
69 72
70 for (const handlerName of Object.keys(handlers)) { 73 for (const handlerName of Object.keys(handlers)) {