diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 10:00:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 10:00:17 +0200 |
commit | dea0df90d50327588933eeb7de748fb31485ad45 (patch) | |
tree | 93e291ab5a1c69675ff44576d8ee0f0cba0ef0f2 /server.ts | |
parent | 5ed6bc77cad455e5ac3bae03b094ff2022366da1 (diff) | |
download | PeerTube-dea0df90d50327588933eeb7de748fb31485ad45.tar.gz PeerTube-dea0df90d50327588933eeb7de748fb31485ad45.tar.zst PeerTube-dea0df90d50327588933eeb7de748fb31485ad45.zip |
Start Redis earlier
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 | ||