Skip to content

Commit

Permalink
Include false positive check
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Oct 2, 2024
1 parent 84c6e4b commit d935982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/transport/sockets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ impl MultipleOutSocket {
}
return Ok(());
}
Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {
// Writable false positive.
continue;
}
Err(e) => {
if i < retry_count {
warn!("Unable to send msg, temptative {i}/{retry_count} - {e}");
Expand Down

0 comments on commit d935982

Please sign in to comment.