diff options
author | Chocobozzz <me@florianbigard.com> | 2019-09-04 11:18:33 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-09-04 16:24:58 +0200 |
commit | 6f1b4fa417786c2015f16b435e872aa65378efd7 (patch) | |
tree | bcf97760b4819d3204f42592a9e6f052674b1f01 /server.ts | |
parent | 8424c4026afd7304880a4ce8138a04ffb3d8c938 (diff) | |
download | PeerTube-6f1b4fa417786c2015f16b435e872aa65378efd7.tar.gz PeerTube-6f1b4fa417786c2015f16b435e872aa65378efd7.tar.zst PeerTube-6f1b4fa417786c2015f16b435e872aa65378efd7.zip |
Add auto follow instances index support
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -115,6 +115,7 @@ import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-sch | |||
115 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 115 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' |
116 | import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' | 116 | import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' |
117 | 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' | ||
118 | import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' | 119 | import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' |
119 | import { PeerTubeSocket } from './server/lib/peertube-socket' | 120 | import { PeerTubeSocket } from './server/lib/peertube-socket' |
120 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' | 121 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' |
@@ -260,6 +261,7 @@ async function startApplication () { | |||
260 | RemoveOldHistoryScheduler.Instance.enable() | 261 | RemoveOldHistoryScheduler.Instance.enable() |
261 | RemoveOldViewsScheduler.Instance.enable() | 262 | RemoveOldViewsScheduler.Instance.enable() |
262 | PluginsCheckScheduler.Instance.enable() | 263 | PluginsCheckScheduler.Instance.enable() |
264 | AutoFollowIndexInstances.Instance.enable() | ||
263 | 265 | ||
264 | // Redis initialization | 266 | // Redis initialization |
265 | Redis.Instance.init() | 267 | Redis.Instance.init() |