aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
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()