diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:17:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:21:50 +0100 |
commit | 57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c (patch) | |
tree | fcf12670d643ec4a3b5eccdfa834227c0417d988 /server/lib/schedulers | |
parent | 2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (diff) | |
download | PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.gz PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.zst PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.zip |
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users
privacy
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 16562ad0b..91c217615 100644 --- a/server/lib/schedulers/videos-redundancy-scheduler.ts +++ b/server/lib/schedulers/videos-redundancy-scheduler.ts | |||
@@ -352,7 +352,7 @@ export class VideosRedundancyScheduler extends AbstractScheduler { | |||
352 | // We need more attributes and check if the video still exists | 352 | // We need more attributes and check if the video still exists |
353 | const getVideoOptions = { | 353 | const getVideoOptions = { |
354 | videoObject: videoUrl, | 354 | videoObject: videoUrl, |
355 | syncParam: { likes: false, dislikes: false, shares: false, comments: false, thumbnail: false, refreshVideo: true }, | 355 | syncParam: { rates: false, shares: false, comments: false, thumbnail: false, refreshVideo: true }, |
356 | fetchType: 'all' as 'all' | 356 | fetchType: 'all' as 'all' |
357 | } | 357 | } |
358 | const { video } = await getOrCreateAPVideo(getVideoOptions) | 358 | const { video } = await getOrCreateAPVideo(getVideoOptions) |