diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -139,6 +139,7 @@ import { VideoViewsManager } from '@server/lib/views/video-views-manager' | |||
139 | import { isTestOrDevInstance } from './server/helpers/core-utils' | 139 | import { isTestOrDevInstance } from './server/helpers/core-utils' |
140 | import { OpenTelemetryMetrics } from '@server/lib/opentelemetry/metrics' | 140 | import { OpenTelemetryMetrics } from '@server/lib/opentelemetry/metrics' |
141 | import { ApplicationModel } from '@server/models/application/application' | 141 | import { ApplicationModel } from '@server/models/application/application' |
142 | import { VideoChannelSyncLatestScheduler } from '@server/lib/schedulers/video-channel-sync-latest-scheduler' | ||
142 | 143 | ||
143 | // ----------- Command line ----------- | 144 | // ----------- Command line ----------- |
144 | 145 | ||
@@ -314,6 +315,7 @@ async function startApplication () { | |||
314 | PeerTubeVersionCheckScheduler.Instance.enable() | 315 | PeerTubeVersionCheckScheduler.Instance.enable() |
315 | AutoFollowIndexInstances.Instance.enable() | 316 | AutoFollowIndexInstances.Instance.enable() |
316 | RemoveDanglingResumableUploadsScheduler.Instance.enable() | 317 | RemoveDanglingResumableUploadsScheduler.Instance.enable() |
318 | VideoChannelSyncLatestScheduler.Instance.enable() | ||
317 | VideoViewsBufferScheduler.Instance.enable() | 319 | VideoViewsBufferScheduler.Instance.enable() |
318 | GeoIPUpdateScheduler.Instance.enable() | 320 | GeoIPUpdateScheduler.Instance.enable() |
319 | OpenTelemetryMetrics.Instance.registerMetrics() | 321 | OpenTelemetryMetrics.Instance.registerMetrics() |