style(ncs-122): fix scalafmt alignment in GameWebSocketResource
Build & Test (NowChessSystems) TeamCity build finished

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
LQ63
2026-06-17 10:01:07 +02:00
parent a75a3cc421
commit e8ff9cd6e6
@@ -66,9 +66,9 @@ class GameWebSocketResource:
@OnOpen @OnOpen
def onOpen(connection: WebSocketConnection): Unit = def onOpen(connection: WebSocketConnection): Unit =
activeGauge activeGauge
val gameId = connection.pathParam("gameId") val gameId = connection.pathParam("gameId")
val handler: Consumer[String] = msg => connection.sendText(msg).subscribe().`with`(_ => (), _ => ()) val handler: Consumer[String] = msg => connection.sendText(msg).subscribe().`with`(_ => (), _ => ())
val subscriber = redis.pubsub(classOf[String]).subscribe(s2cTopic(gameId), handler) val subscriber = redis.pubsub(classOf[String]).subscribe(s2cTopic(gameId), handler)
connections.put(connection.id(), ConnectionMeta(gameId, subscriber, None)) connections.put(connection.id(), ConnectionMeta(gameId, subscriber, None))
connectionsOpened.increment() connectionsOpened.increment()
pendingAuth.add(connection.id()) pendingAuth.add(connection.id())