mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws_load_test: fix unused variable compiler warnings
This commit is contained in:
parent
67c346f88e
commit
0aa781a79c
1 changed files with 2 additions and 6 deletions
|
|
@ -163,9 +163,7 @@ impl Connection {
|
|||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||
return false;
|
||||
},
|
||||
Err(err) => {
|
||||
// eprintln!("handle_read_event error: {}", err);
|
||||
|
||||
Err(_) => {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -224,9 +222,7 @@ impl Connection {
|
|||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||
false
|
||||
}
|
||||
Err(err) => {
|
||||
// eprintln!("send request error: {:?}", err);
|
||||
|
||||
Err(_) => {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue