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 f4f0c4d68..aa4382ee7 100644
--- a/server.ts
+++ b/server.ts
@@ -101,6 +101,7 @@ import {
101import { advertiseDoNotTrack } from './server/middlewares/dnt' 101import { advertiseDoNotTrack } from './server/middlewares/dnt'
102import { Redis } from './server/lib/redis' 102import { Redis } from './server/lib/redis'
103import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' 103import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler'
104import { RemoveOldViewsScheduler } from './server/lib/schedulers/remove-old-views-scheduler'
104import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' 105import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler'
105import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' 106import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler'
106import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' 107import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler'
@@ -242,6 +243,7 @@ async function startApplication () {
242 YoutubeDlUpdateScheduler.Instance.enable() 243 YoutubeDlUpdateScheduler.Instance.enable()
243 VideosRedundancyScheduler.Instance.enable() 244 VideosRedundancyScheduler.Instance.enable()
244 RemoveOldHistoryScheduler.Instance.enable() 245 RemoveOldHistoryScheduler.Instance.enable()
246 RemoveOldViewsScheduler.Instance.enable()
245 247
246 // Redis initialization 248 // Redis initialization
247 Redis.Instance.init() 249 Redis.Instance.init()