From 058fb241e4373e083f1ab706904bd601abbf509a Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Thu, 7 Nov 2024 20:14:17 -0700 Subject: We don't need to update every half-second --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 287cd4f..2058faf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,7 +68,7 @@ fn main() { loop { // Wait for an event from one of the threads - let ui_event = waiter.recv_timeout(Duration::from_millis(500)); + let ui_event = waiter.recv_timeout(Duration::from_secs(30)); if let Ok((system_name, ui_event)) = ui_event { let system_state = ui_state.systems.get_mut(&system_name).unwrap(); -- cgit 1.4.1