diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ import { | |||
94 | } from './server/controllers' | 94 | } from './server/controllers' |
95 | import { advertiseDoNotTrack } from './server/middlewares/dnt' | 95 | import { advertiseDoNotTrack } from './server/middlewares/dnt' |
96 | import { Redis } from './server/lib/redis' | 96 | import { Redis } from './server/lib/redis' |
97 | import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler' | 97 | import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' |
98 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' | 98 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' |
99 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' | 99 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' |
100 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 100 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' |
@@ -219,7 +219,7 @@ async function startApplication () { | |||
219 | VideosCaptionCache.Instance.init(CONFIG.CACHE.VIDEO_CAPTIONS.SIZE, CACHE.VIDEO_CAPTIONS.MAX_AGE) | 219 | VideosCaptionCache.Instance.init(CONFIG.CACHE.VIDEO_CAPTIONS.SIZE, CACHE.VIDEO_CAPTIONS.MAX_AGE) |
220 | 220 | ||
221 | // Enable Schedulers | 221 | // Enable Schedulers |
222 | BadActorFollowScheduler.Instance.enable() | 222 | ActorFollowScheduler.Instance.enable() |
223 | RemoveOldJobsScheduler.Instance.enable() | 223 | RemoveOldJobsScheduler.Instance.enable() |
224 | UpdateVideosScheduler.Instance.enable() | 224 | UpdateVideosScheduler.Instance.enable() |
225 | YoutubeDlUpdateScheduler.Instance.enable() | 225 | YoutubeDlUpdateScheduler.Instance.enable() |