]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix redundancy with specific videos
authorChocobozzz <me@florianbigard.com>
Mon, 1 Oct 2018 14:33:53 +0000 (16:33 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 1 Oct 2018 14:33:53 +0000 (16:33 +0200)
server/lib/schedulers/videos-redundancy-scheduler.ts

index 432bade1f5300f73aa946c699055cf24f71387d1..0b1ae76ff853d74c06f5a6844e74275083d40f71 100644 (file)
@@ -113,7 +113,7 @@ export class VideosRedundancyScheduler extends AbstractScheduler {
       const getVideoOptions = {
         videoObject: file.Video.url,
         syncParam: { likes: false, dislikes: false, shares: false, comments: false, thumbnail: false, refreshVideo: true },
-        fetchType: 'only-video' as 'only-video'
+        fetchType: 'all' as 'all'
       }
       const { video } = await getOrCreateVideoAndAccountAndChannel(getVideoOptions)