mirror of https://github.com/Chocobozzz/PeerTube
Fix redundancy with specific videos
parent
a3737cbf2b
commit
99cc653f47
|
@ -113,7 +113,7 @@ export class VideosRedundancyScheduler extends AbstractScheduler {
|
||||||
const getVideoOptions = {
|
const getVideoOptions = {
|
||||||
videoObject: file.Video.url,
|
videoObject: file.Video.url,
|
||||||
syncParam: { likes: false, dislikes: false, shares: false, comments: false, thumbnail: false, refreshVideo: true },
|
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)
|
const { video } = await getOrCreateVideoAndAccountAndChannel(getVideoOptions)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue