diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-01 16:33:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-01 16:33:53 +0200 |
commit | 99cc653f47a5db664ec119e66a84c8f6454eed0b (patch) | |
tree | 5b5ea3b42fc8d6b17015c8d103213bbc86c6f542 /server/lib/schedulers | |
parent | a3737cbf2b09d5ce75e50f333d989a6162b04720 (diff) | |
download | PeerTube-99cc653f47a5db664ec119e66a84c8f6454eed0b.tar.gz PeerTube-99cc653f47a5db664ec119e66a84c8f6454eed0b.tar.zst PeerTube-99cc653f47a5db664ec119e66a84c8f6454eed0b.zip |
Fix redundancy with specific videos
Diffstat (limited to 'server/lib/schedulers')
-rw-r--r-- | server/lib/schedulers/videos-redundancy-scheduler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/videos-redundancy-scheduler.ts b/server/lib/schedulers/videos-redundancy-scheduler.ts index 432bade1f..0b1ae76ff 100644 --- a/server/lib/schedulers/videos-redundancy-scheduler.ts +++ b/server/lib/schedulers/videos-redundancy-scheduler.ts | |||
@@ -113,7 +113,7 @@ export class VideosRedundancyScheduler extends AbstractScheduler { | |||
113 | const getVideoOptions = { | 113 | const getVideoOptions = { |
114 | videoObject: file.Video.url, | 114 | videoObject: file.Video.url, |
115 | syncParam: { likes: false, dislikes: false, shares: false, comments: false, thumbnail: false, refreshVideo: true }, | 115 | syncParam: { likes: false, dislikes: false, shares: false, comments: false, thumbnail: false, refreshVideo: true }, |
116 | fetchType: 'only-video' as 'only-video' | 116 | fetchType: 'all' as 'all' |
117 | } | 117 | } |
118 | const { video } = await getOrCreateVideoAndAccountAndChannel(getVideoOptions) | 118 | const { video } = await getOrCreateVideoAndAccountAndChannel(getVideoOptions) |
119 | 119 | ||