Skip to content

Commit

Permalink
test disable sleep here
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Nov 15, 2023
1 parent 1b5dd80 commit 404dd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ fn nonblocking_tcp_drop(tcp: TcpStream) {
trace!("in drop tcp task");
// Drop the TCP stream here just in case close() blocks
_ = tcp.set_nonblocking(false);
sleep(Duration::from_secs(1));
// sleep(Duration::from_secs(1));
drop(tcp);
trace!("done drop tcp task");
});
Expand Down

0 comments on commit 404dd88

Please sign in to comment.