We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a19bd45 commit 4974676Copy full SHA for 4974676
1 file changed
crates/client-api/src/routes/subscribe.rs
@@ -296,7 +296,8 @@ async fn ws_client_actor_inner(
296
// TODO: this isn't great. when we receive a close request from the peer,
297
// tungstenite doesn't let us send any new messages on the socket,
298
// even though the websocket RFC allows it. should we fork tungstenite?
299
- log::info!("dropping messages due to ws already being closed: {:?}", &rx_buf[..n]);
+ log::info!("dropping {n} messages due to ws already being closed");
300
+ log::debug!("dropped messages: {:?}", &rx_buf[..n]);
301
} else {
302
let send_all = async {
303
for msg in rx_buf.drain(..n) {
0 commit comments