diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-21 09:41:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-21 09:51:24 +0200 |
commit | 1cfa8d6809d941c703e12ef30a5161d1901b1874 (patch) | |
tree | 6b8a6f425cdafecdcbddb03c86263edd3c341bb9 /server/lib/schedulers/videos-redundancy-scheduler.ts | |
parent | f2659ae0b0bae6c1b2ee4dcf331a42e440274c02 (diff) | |
download | PeerTube-1cfa8d6809d941c703e12ef30a5161d1901b1874.tar.gz PeerTube-1cfa8d6809d941c703e12ef30a5161d1901b1874.tar.zst PeerTube-1cfa8d6809d941c703e12ef30a5161d1901b1874.zip |
Remove unnecessary actor existance check
We already checked it in the signature checker
Diffstat (limited to 'server/lib/schedulers/videos-redundancy-scheduler.ts')
-rw-r--r-- | server/lib/schedulers/videos-redundancy-scheduler.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/schedulers/videos-redundancy-scheduler.ts b/server/lib/schedulers/videos-redundancy-scheduler.ts index 960651712..998d2295a 100644 --- a/server/lib/schedulers/videos-redundancy-scheduler.ts +++ b/server/lib/schedulers/videos-redundancy-scheduler.ts | |||
@@ -30,6 +30,8 @@ export class VideosRedundancyScheduler extends AbstractScheduler { | |||
30 | this.executing = true | 30 | this.executing = true |
31 | 31 | ||
32 | for (const obj of CONFIG.REDUNDANCY.VIDEOS.STRATEGIES) { | 32 | for (const obj of CONFIG.REDUNDANCY.VIDEOS.STRATEGIES) { |
33 | if (!isTestInstance()) logger.info('Running redundancy scheduler for strategy %s.', obj.strategy) | ||
34 | |||
33 | try { | 35 | try { |
34 | const videoToDuplicate = await this.findVideoToDuplicate(obj) | 36 | const videoToDuplicate = await this.findVideoToDuplicate(obj) |
35 | if (!videoToDuplicate) continue | 37 | if (!videoToDuplicate) continue |