battery: disable render every 100ms
our multicast poller was causing this Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -135,7 +135,7 @@ pub fn setup_multicast_relay(
|
||||
std::thread::spawn(move || {
|
||||
let mut events = Events::with_capacity(1);
|
||||
loop {
|
||||
if let Err(err) = poll.poll(&mut events, Some(Duration::from_millis(100))) {
|
||||
if let Err(err) = poll.poll(&mut events, None) {
|
||||
error!("multicast socket poll error: {err}. ending multicast poller.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user