Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Start Redis earlier

Chocobozzzdea0df90d503
diff --git a/server.ts b/server.ts
index 7ab20643b9..e69ad7fb72 100644
--- a/server.ts
+++ b/server.ts
@@ -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()