From 15ef3425b115583adbd9bdc8e863f19983ce9967 Mon Sep 17 00:00:00 2001 From: TheAnimatrix Date: Tue, 1 Dec 2026 10:28:59 +0530 Subject: [PATCH] fix(ci): simplify the helper's reconnect due check --- crates/mousse-helper/src/app/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mousse-helper/src/app/paths.rs b/crates/mousse-helper/src/app/paths.rs index 874ad5c..92e5b0a 100644 --- a/crates/mousse-helper/src/app/paths.rs +++ b/crates/mousse-helper/src/app/paths.rs @@ -1318,7 +1318,7 @@ pub async fn keep_connected(shared: Arc, mut kicks: mpsc::UnboundedRecei hosts.retain(|pin, r| r.dialling() || pins.contains(pin)); for pin in pins { let state = *hosts.entry(pin).or_insert(DialState::new(now, waits)); - if !state.due().is_some_and(|due| now >= due) { + if state.due().is_none_or(|due| now < due) { continue; } let has_path = !outbound(&shared, &pin).is_empty();