aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-25 11:27:13 +0200
committerChocobozzz <me@florianbigard.com>2019-04-25 11:27:13 +0200
commit47f6409bb8bc49a50027b9579bb651c0506b6912 (patch)
treebcf27fb4bffa2c10c5374da60457e025078c1acf /server/lib/job-queue
parentd0dba1fce6dcc0b91c0561eda8707c5c5bb6e626 (diff)
downloadPeerTube-47f6409bb8bc49a50027b9579bb651c0506b6912.tar.gz
PeerTube-47f6409bb8bc49a50027b9579bb651c0506b6912.tar.zst
PeerTube-47f6409bb8bc49a50027b9579bb651c0506b6912.zip
Use apicache instead of our broken implementation
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/job-queue.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts
index f09eb6ff1..3c810da98 100644
--- a/server/lib/job-queue/job-queue.ts
+++ b/server/lib/job-queue/job-queue.ts
@@ -71,7 +71,7 @@ class JobQueue {
71 this.jobRedisPrefix = 'bull-' + WEBSERVER.HOST 71 this.jobRedisPrefix = 'bull-' + WEBSERVER.HOST
72 const queueOptions = { 72 const queueOptions = {
73 prefix: this.jobRedisPrefix, 73 prefix: this.jobRedisPrefix,
74 redis: Redis.getRedisClient(), 74 redis: Redis.getRedisClientOptions(),
75 settings: { 75 settings: {
76 maxStalledCount: 10 // transcoding could be long, so jobs can often be interrupted by restarts 76 maxStalledCount: 10 // transcoding could be long, so jobs can often be interrupted by restarts
77 } 77 }