aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-21 14:22:39 +0100
committerChocobozzz <me@florianbigard.com>2019-02-21 14:22:39 +0100
commit374c1db98cf22527f5b362c70d3c50e3be4c8885 (patch)
treea107347f66366128762669d88ba25b09e000ec14 /server/lib/job-queue
parenta975517c6858df07c179253a4c41701fd2199225 (diff)
downloadPeerTube-374c1db98cf22527f5b362c70d3c50e3be4c8885.tar.gz
PeerTube-374c1db98cf22527f5b362c70d3c50e3be4c8885.tar.zst
PeerTube-374c1db98cf22527f5b362c70d3c50e3be4c8885.zip
Upgrade server dependencies
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/handlers/video-file.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-file.ts b/server/lib/job-queue/handlers/video-file.ts
index 04983155c..3a867b77f 100644
--- a/server/lib/job-queue/handlers/video-file.ts
+++ b/server/lib/job-queue/handlers/video-file.ts
@@ -140,7 +140,7 @@ async function onVideoFileOptimizerSuccess (videoArg: VideoModel, payload: Video
140 let videoPublished = false 140 let videoPublished = false
141 141
142 if (resolutionsEnabled.length !== 0) { 142 if (resolutionsEnabled.length !== 0) {
143 const tasks: Bluebird<Bull.Job<any>>[] = [] 143 const tasks: (Bluebird<Bull.Job<any>> | Promise<Bull.Job<any>>)[] = []
144 144
145 for (const resolution of resolutionsEnabled) { 145 for (const resolution of resolutionsEnabled) {
146 const dataInput = { 146 const dataInput = {