diff --git a/src/bin.rs b/src/bin.rs index 6b93dce7..8ecbe24b 100644 --- a/src/bin.rs +++ b/src/bin.rs @@ -126,12 +126,10 @@ fn notify( .unwrap_or(false) { let value = buf[0]; - sender - .send_timeout( - ThreadEvent::UIEvent(UIEvent::Timer(value)), - Duration::from_millis(500), - ) - .unwrap(); + let _ = sender.send_timeout( + ThreadEvent::UIEvent(UIEvent::Timer(value)), + Duration::from_millis(2000), + ); } std::thread::sleep(std::time::Duration::from_millis(100));