diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -101,6 +101,7 @@ import { | |||
101 | import { advertiseDoNotTrack } from './server/middlewares/dnt' | 101 | import { advertiseDoNotTrack } from './server/middlewares/dnt' |
102 | import { Redis } from './server/lib/redis' | 102 | import { Redis } from './server/lib/redis' |
103 | import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' | 103 | import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' |
104 | import { RemoveOldViewsScheduler } from './server/lib/schedulers/remove-old-views-scheduler' | ||
104 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' | 105 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' |
105 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' | 106 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' |
106 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 107 | import { 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() |