aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-04 15:12:54 +0100
committerChocobozzz <me@florianbigard.com>2018-12-04 16:04:14 +0100
commit745778256ced65415b04a9817fc49db70d4b6681 (patch)
tree184a3cd6c7d24ba94c5aa282b52a162a3b95d21c /server/lib/job-queue/handlers
parent2beb98952a4c5939f33ea2dc77f0bd053bffbb5a (diff)
downloadPeerTube-745778256ced65415b04a9817fc49db70d4b6681.tar.gz
PeerTube-745778256ced65415b04a9817fc49db70d4b6681.tar.zst
PeerTube-745778256ced65415b04a9817fc49db70d4b6681.zip
Fix thumbnail processing
Diffstat (limited to 'server/lib/job-queue/handlers')
-rw-r--r--server/lib/job-queue/handlers/activitypub-refresher.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-refresher.ts b/server/lib/job-queue/handlers/activitypub-refresher.ts
index 7752b3b40..671b0f487 100644
--- a/server/lib/job-queue/handlers/activitypub-refresher.ts
+++ b/server/lib/job-queue/handlers/activitypub-refresher.ts
@@ -10,7 +10,8 @@ export type RefreshPayload = {
10 10
11async function refreshAPObject (job: Bull.Job) { 11async function refreshAPObject (job: Bull.Job) {
12 const payload = job.data as RefreshPayload 12 const payload = job.data as RefreshPayload
13 logger.info('Processing AP refresher in job %d.', job.id) 13
14 logger.info('Processing AP refresher in job %d for video %s.', job.id, payload.videoUrl)
14 15
15 if (payload.type === 'video') return refreshAPVideo(payload.videoUrl) 16 if (payload.type === 'video') return refreshAPVideo(payload.videoUrl)
16} 17}