Start Redis earlier

pull/5138/head
Chocobozzz 2022-07-13 10:00:17 +02:00
parent 5ed6bc77ca
commit dea0df90d5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 2 deletions

View File

@ -283,7 +283,7 @@ async function startApplication () {
checkFFmpegVersion()
.catch(err => logger.error('Cannot check ffmpeg version', { err }))
// Email initialization
Redis.Instance.init()
Emailer.Instance.init()
await Promise.all([
@ -313,7 +313,6 @@ async function startApplication () {
GeoIPUpdateScheduler.Instance.enable()
OpenTelemetryMetrics.Instance.registerMetrics()
Redis.Instance.init()
PeerTubeSocket.Instance.init(server)
VideoViewsManager.Instance.init()