Skip to content

Commit

Permalink
timeout message
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed May 31, 2024
1 parent cc188ff commit dbb7e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auto_splitting/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ async fn watchdog(
Ok(Err(_)) => return,
Err(_) => {
if let Some(handle) = &*interrupt_receiver.borrow() {
log::error!(target: "Auto Splitter", "timeout, no update in {} seconds", TIMEOUT.as_secs_f32());
handle.interrupt();
}
}
Expand Down

0 comments on commit dbb7e62

Please sign in to comment.