Tweak logging around connections opening and messages coming in

This commit is contained in:
James Wilson
2021-08-05 12:11:46 +01:00
parent acfe3d45d1
commit 4da299bf76
3 changed files with 3 additions and 7 deletions
+1
View File
@@ -138,6 +138,7 @@ async fn start_server(opts: Opts) -> anyhow::Result<()> {
Ok(http_utils::upgrade_to_websocket(
req,
move |ws_send, ws_recv| async move {
log::info!("Opening /submit connection from {:?}", addr);
let tx_to_aggregator = aggregator.subscribe_node();
let (mut tx_to_aggregator, mut ws_send) =
handle_node_websocket_connection(