server: add debug message for WS connection
This commit is contained in:
parent
1832d77e78
commit
9d232b666b
@ -158,6 +158,7 @@ async fn start_ws(
|
||||
connection_tracker, ..
|
||||
}): State<AppState>,
|
||||
) -> impl IntoResponse {
|
||||
info!("intiating websocket connection for {addr}");
|
||||
ws.on_upgrade(async move |socket| connection_tracker.lock().await.add_peer(socket, addr).await)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user