Start Redis earlier
This commit is contained in:
parent
5ed6bc77ca
commit
dea0df90d5
|
@ -283,7 +283,7 @@ async function startApplication () {
|
||||||
checkFFmpegVersion()
|
checkFFmpegVersion()
|
||||||
.catch(err => logger.error('Cannot check ffmpeg version', { err }))
|
.catch(err => logger.error('Cannot check ffmpeg version', { err }))
|
||||||
|
|
||||||
// Email initialization
|
Redis.Instance.init()
|
||||||
Emailer.Instance.init()
|
Emailer.Instance.init()
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
@ -313,7 +313,6 @@ async function startApplication () {
|
||||||
GeoIPUpdateScheduler.Instance.enable()
|
GeoIPUpdateScheduler.Instance.enable()
|
||||||
OpenTelemetryMetrics.Instance.registerMetrics()
|
OpenTelemetryMetrics.Instance.registerMetrics()
|
||||||
|
|
||||||
Redis.Instance.init()
|
|
||||||
PeerTubeSocket.Instance.init(server)
|
PeerTubeSocket.Instance.init(server)
|
||||||
VideoViewsManager.Instance.init()
|
VideoViewsManager.Instance.init()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue