diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,5 @@ | |||
1 | require('module-alias/register') | ||
2 | |||
1 | // FIXME: https://github.com/nodejs/node/pull/16853 | 3 | // FIXME: https://github.com/nodejs/node/pull/16853 |
2 | import { PluginManager } from './server/lib/plugins/plugin-manager' | 4 | import { PluginManager } from './server/lib/plugins/plugin-manager' |
3 | 5 | ||
@@ -113,6 +115,7 @@ import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-sch | |||
113 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 115 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' |
114 | import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' | 116 | import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' |
115 | import { RemoveOldHistoryScheduler } from './server/lib/schedulers/remove-old-history-scheduler' | 117 | import { RemoveOldHistoryScheduler } from './server/lib/schedulers/remove-old-history-scheduler' |
118 | import { AutoFollowIndexInstances } from './server/lib/schedulers/auto-follow-index-instances' | ||
116 | import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' | 119 | import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' |
117 | import { PeerTubeSocket } from './server/lib/peertube-socket' | 120 | import { PeerTubeSocket } from './server/lib/peertube-socket' |
118 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' | 121 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' |
@@ -258,6 +261,7 @@ async function startApplication () { | |||
258 | RemoveOldHistoryScheduler.Instance.enable() | 261 | RemoveOldHistoryScheduler.Instance.enable() |
259 | RemoveOldViewsScheduler.Instance.enable() | 262 | RemoveOldViewsScheduler.Instance.enable() |
260 | PluginsCheckScheduler.Instance.enable() | 263 | PluginsCheckScheduler.Instance.enable() |
264 | AutoFollowIndexInstances.Instance.enable() | ||
261 | 265 | ||
262 | // Redis initialization | 266 | // Redis initialization |
263 | Redis.Instance.init() | 267 | Redis.Instance.init() |