more event capacity for TCP server
Rust/sat-rs/pipeline/head There was a failure building this commit
Details
Rust/sat-rs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
870d60cfd6
commit
e4cb415e08
|
@ -244,7 +244,7 @@ impl<
|
|||
// Create a poll instance.
|
||||
let poll = Poll::new()?;
|
||||
// Create storage for events.
|
||||
let events = Events::with_capacity(10);
|
||||
let events = Events::with_capacity(32);
|
||||
let listener: std::net::TcpListener = socket.into();
|
||||
let mut mio_listener = TcpListener::from_std(listener);
|
||||
|
||||
|
|
Loading…
Reference in New Issue