aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-21 13:26:04 +0200
committerChocobozzz <me@florianbigard.com>2018-05-21 17:49:56 +0200
commit30c82f0d2e9adacc1d3398822aa7810c0ccbceb4 (patch)
treef24f7c978b0421d79d131b976ae36a826baa8d8c /server/lib/job-queue
parent2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50 (diff)
downloadPeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.tar.gz
PeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.tar.zst
PeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.zip
feature: db selection in redis
resolves #579
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/job-queue.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts
index acc69ef24..0333464bd 100644
--- a/server/lib/job-queue/job-queue.ts
+++ b/server/lib/job-queue/job-queue.ts
@@ -56,7 +56,8 @@ class JobQueue {
56 redis: { 56 redis: {
57 host: CONFIG.REDIS.HOSTNAME, 57 host: CONFIG.REDIS.HOSTNAME,
58 port: CONFIG.REDIS.PORT, 58 port: CONFIG.REDIS.PORT,
59 auth: CONFIG.REDIS.AUTH 59 auth: CONFIG.REDIS.AUTH,
60 db: CONFIG.REDIS.DB
60 } 61 }
61 }) 62 })
62 63