From a29fd2f5ab9bbefb2d50d57c9d44ef84545d35cb Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Mon, 7 Oct 2024 12:56:28 +0200 Subject: [PATCH] Revert "fix strange bug with `wire[netty.NettyServer]` in production" This reverts commit 58023766ecaf2ded2c3b70bb202bb2c74f9f6e79. --- src/main/scala/LilaWs.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/scala/LilaWs.scala b/src/main/scala/LilaWs.scala index e1412f3..3473bba 100644 --- a/src/main/scala/LilaWs.scala +++ b/src/main/scala/LilaWs.scala @@ -33,9 +33,8 @@ object LilaWs extends App: lazy val router = wire[Router] lazy val seenAt = wire[SeenAtUpdate] lazy val auth = wire[Auth] - // `wire[netty.NettyServer]` fails in production! - lazy val nettyServer = netty.NettyServer(clientSystem, router, config, settings) - lazy val monitor = wire[Monitor] + lazy val nettyServer = wire[netty.NettyServer] + lazy val monitor = wire[Monitor] wire[LilaHandler] // must eagerly instanciate! wire[RelayCrowd] // must eagerly instanciate!