diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -283,7 +283,7 @@ async function startApplication () { | |||
283 | checkFFmpegVersion() | 283 | checkFFmpegVersion() |
284 | .catch(err => logger.error('Cannot check ffmpeg version', { err })) | 284 | .catch(err => logger.error('Cannot check ffmpeg version', { err })) |
285 | 285 | ||
286 | // Email initialization | 286 | Redis.Instance.init() |
287 | Emailer.Instance.init() | 287 | Emailer.Instance.init() |
288 | 288 | ||
289 | await Promise.all([ | 289 | await Promise.all([ |
@@ -313,7 +313,6 @@ async function startApplication () { | |||
313 | GeoIPUpdateScheduler.Instance.enable() | 313 | GeoIPUpdateScheduler.Instance.enable() |
314 | OpenTelemetryMetrics.Instance.registerMetrics() | 314 | OpenTelemetryMetrics.Instance.registerMetrics() |
315 | 315 | ||
316 | Redis.Instance.init() | ||
317 | PeerTubeSocket.Instance.init(server) | 316 | PeerTubeSocket.Instance.init(server) |
318 | VideoViewsManager.Instance.init() | 317 | VideoViewsManager.Instance.init() |
319 | 318 | ||