more event capacity for TCP server
Rust/sat-rs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Robin Müller 2024-04-22 15:45:13 +02:00
parent 870d60cfd6
commit e4cb415e08
1 changed files with 1 additions and 1 deletions

View File

@ -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);