Skip to content

Commit

Permalink
Revert "fix strange bug with wire[netty.NettyServer] in production"
Browse files Browse the repository at this point in the history
This reverts commit 5802376.
  • Loading branch information
ornicar committed Oct 7, 2024
1 parent 5802376 commit a29fd2f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/scala/LilaWs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit a29fd2f

Please sign in to comment.