mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
ws: don't yield unnecessarily in run_in_message_loop, improve logging
This commit is contained in:
parent
d48deeff8c
commit
579fcb2140
2 changed files with 7 additions and 9 deletions
|
|
@ -287,10 +287,14 @@ async fn receive_out_messages(
|
|||
match reference.out_message_sender.try_send((meta, out_message)) {
|
||||
Ok(()) => {}
|
||||
Err(GlommioError::Closed(_)) => {}
|
||||
Err(GlommioError::WouldBlock(_)) => {}
|
||||
Err(GlommioError::WouldBlock(_)) => {
|
||||
::log::debug!(
|
||||
"couldn't send OutMessage over local channel to Connection, channel full"
|
||||
);
|
||||
}
|
||||
Err(err) => {
|
||||
::log::debug!(
|
||||
"Couldn't send out_message from shared channel to local receiver: {:?}",
|
||||
"couldn't send OutMessage over local channel to Connection: {:?}",
|
||||
err
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue