From 0b7b18b43bfa3b47cf5e881755001caedee8be1a Mon Sep 17 00:00:00 2001 From: AlexKnauth Date: Fri, 31 May 2024 19:23:11 -0400 Subject: [PATCH 1/2] timeout message --- src/auto_splitting/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/auto_splitting/mod.rs b/src/auto_splitting/mod.rs index a14bdb62..9842324a 100644 --- a/src/auto_splitting/mod.rs +++ b/src/auto_splitting/mod.rs @@ -920,6 +920,7 @@ fn run( fn watchdog(shared_state: Arc>) { const TIMEOUT: Duration = Duration::from_secs(5); + let mut has_timed_out = false; let Ok(mut state) = shared_state.watchdog_state.lock() else { return; @@ -944,6 +945,10 @@ fn watchdog(shared_state: Arc Date: Sat, 16 Nov 2024 10:07:55 -0500 Subject: [PATCH 2/2] timeout: reset to false again --- src/auto_splitting/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/auto_splitting/mod.rs b/src/auto_splitting/mod.rs index 9842324a..9ffaa7e5 100644 --- a/src/auto_splitting/mod.rs +++ b/src/auto_splitting/mod.rs @@ -952,6 +952,8 @@ fn watchdog(shared_state: Arc