diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-11 16:54:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | 32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf (patch) | |
tree | 1db53245688a6b7839cab00f9d65e6c1c1774b00 /server.ts | |
parent | 3fbc6974334ca58c068f0f9def0b0a40db2a6de1 (diff) | |
download | PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.tar.gz PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.tar.zst PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.zip |
Add new plugin/peertube version notifs
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -120,6 +120,7 @@ import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' | |||
120 | import { PeerTubeSocket } from './server/lib/peertube-socket' | 120 | import { PeerTubeSocket } from './server/lib/peertube-socket' |
121 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' | 121 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' |
122 | import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler' | 122 | import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler' |
123 | import { PeerTubeVersionCheckScheduler } from './server/lib/schedulers/peertube-version-check-scheduler' | ||
123 | import { Hooks } from './server/lib/plugins/hooks' | 124 | import { Hooks } from './server/lib/plugins/hooks' |
124 | import { PluginManager } from './server/lib/plugins/plugin-manager' | 125 | import { PluginManager } from './server/lib/plugins/plugin-manager' |
125 | import { LiveManager } from './server/lib/live-manager' | 126 | import { LiveManager } from './server/lib/live-manager' |
@@ -277,6 +278,7 @@ async function startApplication () { | |||
277 | RemoveOldHistoryScheduler.Instance.enable() | 278 | RemoveOldHistoryScheduler.Instance.enable() |
278 | RemoveOldViewsScheduler.Instance.enable() | 279 | RemoveOldViewsScheduler.Instance.enable() |
279 | PluginsCheckScheduler.Instance.enable() | 280 | PluginsCheckScheduler.Instance.enable() |
281 | PeerTubeVersionCheckScheduler.Instance.enable() | ||
280 | AutoFollowIndexInstances.Instance.enable() | 282 | AutoFollowIndexInstances.Instance.enable() |
281 | 283 | ||
282 | // Redis initialization | 284 | // Redis initialization |