aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/job-queue.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-09 14:42:52 +0100
committerChocobozzz <me@florianbigard.com>2023-01-09 14:42:52 +0100
commit1c30b112b9860255bdb458482c8dba9432419c49 (patch)
tree140c7160f072f073c67de78161c3873086fd8a90 /server/lib/job-queue/job-queue.ts
parentf99a3f7dce13f8d713db2ace75e412e700f28f62 (diff)
downloadPeerTube-1c30b112b9860255bdb458482c8dba9432419c49.tar.gz
PeerTube-1c30b112b9860255bdb458482c8dba9432419c49.tar.zst
PeerTube-1c30b112b9860255bdb458482c8dba9432419c49.zip
Fix lint
Diffstat (limited to 'server/lib/job-queue/job-queue.ts')
-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 866aa1ed0..8597eb000 100644
--- a/server/lib/job-queue/job-queue.ts
+++ b/server/lib/job-queue/job-queue.ts
@@ -184,7 +184,7 @@ class JobQueue {
184 184
185 this.jobRedisPrefix = 'bull-' + WEBSERVER.HOST 185 this.jobRedisPrefix = 'bull-' + WEBSERVER.HOST
186 186
187 for (const handlerName of (Object.keys(handlers) as JobType[])) { 187 for (const handlerName of Object.keys(handlers)) {
188 this.buildWorker(handlerName) 188 this.buildWorker(handlerName)
189 this.buildQueue(handlerName) 189 this.buildQueue(handlerName)
190 this.buildQueueScheduler(handlerName) 190 this.buildQueueScheduler(handlerName)