diff --git a/src/reactor.rs b/src/reactor.rs index dda9f92..06e0004 100644 --- a/src/reactor.rs +++ b/src/reactor.rs @@ -98,7 +98,10 @@ impl Reactor { sources: Mutex::new(Slab::new()), events: Mutex::new(Vec::new()), timers: Mutex::new(BTreeMap::new()), + #[cfg(not(target_os = "espidf"))] timer_ops: ConcurrentQueue::bounded(1000), + #[cfg(target_os = "espidf")] + timer_ops: ConcurrentQueue::bounded(100), } }) }