Track mio master

This commit is contained in:
Carl Lerche 2016-08-30 14:45:29 -07:00
parent 7a852a7f49
commit 440a813c5a

View File

@ -131,7 +131,7 @@ impl Loop {
Ok(Loop {
id: NEXT_LOOP_ID.fetch_add(1, Ordering::Relaxed),
io: io,
events: mio::Events::new(),
events: mio::Events::with_capacity(1024),
tx: Arc::new(MioSender { inner: tx }),
rx: rx,
_future_registration: registration,