aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/schedulers/videos-redundancy-scheduler.ts2
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 06cfa1101..d324adfd0 100644
--- a/server/lib/schedulers/videos-redundancy-scheduler.ts
+++ b/server/lib/schedulers/videos-redundancy-scheduler.ts
@@ -109,7 +109,7 @@ export class VideosRedundancyScheduler extends AbstractScheduler {
109 const serverActor = await getServerActor() 109 const serverActor = await getServerActor()
110 110
111 for (const file of filesToDuplicate) { 111 for (const file of filesToDuplicate) {
112 const existing = await VideoRedundancyModel.loadByFileId(file.id) 112 const existing = await VideoRedundancyModel.loadLocalByFileId(file.id)
113 if (existing) { 113 if (existing) {
114 await this.extendsExpirationOf(existing, redundancy.minLifetime) 114 await this.extendsExpirationOf(existing, redundancy.minLifetime)
115 115