update readme

This commit is contained in:
Σrebe - Romain GERARD 2024-08-15 19:55:03 +02:00
parent a28b71c6af
commit 7270aa5550
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
2 changed files with 23 additions and 2 deletions

View file

@ -129,7 +129,7 @@ pub async fn propagate_local_to_remote(
biased;
read_len = local_rx.read_buf(ws_tx.buf_mut()) => read_len,
_ = &mut should_close => break,
_ = &mut has_pending_operations_pin => {
@ -143,7 +143,7 @@ pub async fn propagate_local_to_remote(
}
}
},
_ = timeout.tick(), if ping_frequency.is_some() => {
debug!("sending ping to keep connection alive");
ws_tx.ping().await?;