diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-11-07 20:14:17 -0700 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-11-07 20:14:17 -0700 |
commit | 058fb241e4373e083f1ab706904bd601abbf509a (patch) | |
tree | aed4e60ace663e16d0794590e6373c550e670c15 /src | |
parent | a69d779cfff810edd375318c3d36fecd42d294b5 (diff) |
We don't need to update every half-second
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
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(); |