aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-11 16:27:07 +0200
committerChocobozzz <me@florianbigard.com>2018-09-13 14:05:49 +0200
commitc48e82b5e0478434de30626d14594a97f2402e7c (patch)
treea78e5272bd0fe4f5b41831e571e02d05f1515b82 /server.ts
parenta651038487faa838bda3ce04695b08bc65baff70 (diff)
downloadPeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.gz
PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.zst
PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.zip
Basic video redundancy implementation
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index 76d00edd3..8bc5e5f32 100644
--- a/server.ts
+++ b/server.ts
@@ -94,6 +94,7 @@ import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follo
94import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' 94import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler'
95import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' 95import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler'
96import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' 96import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler'
97import { 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()