mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users privacy
This commit is contained in:
parent
2e3f7a5a6f
commit
57e4e1c1a9
44 changed files with 402 additions and 338 deletions
|
@ -34,7 +34,7 @@ async function processActivityPubCleaner (_job: Job) {
|
|||
if (result?.status === 'deleted') {
|
||||
const { videoId, type } = result.data
|
||||
|
||||
await VideoModel.updateRatesOf(videoId, type, undefined)
|
||||
await VideoModel.syncLocalRates(videoId, type, undefined)
|
||||
}
|
||||
}, { concurrency: AP_CLEANER.CONCURRENCY })
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue