aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 7ab20643b..e69ad7fb7 100644
--- a/server.ts
+++ b/server.ts
@@ -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