diff options
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() |