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 110ae1ab8..f4f0c4d68 100644
--- a/server.ts
+++ b/server.ts
@@ -105,6 +105,7 @@ import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-
105import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' 105import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler'
106import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' 106import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler'
107import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' 107import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler'
108import { RemoveOldHistoryScheduler } from './server/lib/schedulers/remove-old-history-scheduler'
108import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' 109import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto'
109import { PeerTubeSocket } from './server/lib/peertube-socket' 110import { PeerTubeSocket } from './server/lib/peertube-socket'
110import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' 111import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls'
@@ -240,6 +241,7 @@ async function startApplication () {
240 UpdateVideosScheduler.Instance.enable() 241 UpdateVideosScheduler.Instance.enable()
241 YoutubeDlUpdateScheduler.Instance.enable() 242 YoutubeDlUpdateScheduler.Instance.enable()
242 VideosRedundancyScheduler.Instance.enable() 243 VideosRedundancyScheduler.Instance.enable()
244 RemoveOldHistoryScheduler.Instance.enable()
243 245
244 // Redis initialization 246 // Redis initialization
245 Redis.Instance.init() 247 Redis.Instance.init()