summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2024-11-07 20:14:17 -0700
committerAshelyn Rose <git@ashen.earth>2024-11-07 20:14:17 -0700
commit058fb241e4373e083f1ab706904bd601abbf509a (patch)
treeaed4e60ace663e16d0794590e6373c550e670c15 /src/main.rs
parenta69d779cfff810edd375318c3d36fecd42d294b5 (diff)
We don't need to update every half-second
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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();