diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-11 16:27:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-13 14:05:49 +0200 |
commit | c48e82b5e0478434de30626d14594a97f2402e7c (patch) | |
tree | a78e5272bd0fe4f5b41831e571e02d05f1515b82 /server.ts | |
parent | a651038487faa838bda3ce04695b08bc65baff70 (diff) | |
download | PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.gz PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.zst PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.zip |
Basic video redundancy implementation
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -94,6 +94,7 @@ import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follo | |||
94 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' | 94 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' |
95 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' | 95 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' |
96 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 96 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' |
97 | import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' | ||
97 | 98 | ||
98 | // ----------- Command line ----------- | 99 | // ----------- Command line ----------- |
99 | 100 | ||
@@ -206,6 +207,7 @@ async function startApplication () { | |||
206 | RemoveOldJobsScheduler.Instance.enable() | 207 | RemoveOldJobsScheduler.Instance.enable() |
207 | UpdateVideosScheduler.Instance.enable() | 208 | UpdateVideosScheduler.Instance.enable() |
208 | YoutubeDlUpdateScheduler.Instance.enable() | 209 | YoutubeDlUpdateScheduler.Instance.enable() |
210 | VideosRedundancyScheduler.Instance.enable() | ||
209 | 211 | ||
210 | // Redis initialization | 212 | // Redis initialization |
211 | Redis.Instance.init() | 213 | Redis.Instance.init() |