From 96bfe463f44d90e86ddda02f3df9d991777e6080 Mon Sep 17 00:00:00 2001 From: Ross Savage <551697+dangeross@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:53:27 +0200 Subject: [PATCH] Skip missed ticks (#534) --- lib/core/src/chain_swap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/chain_swap.rs b/lib/core/src/chain_swap.rs index 3c154b894..488621c8e 100644 --- a/lib/core/src/chain_swap.rs +++ b/lib/core/src/chain_swap.rs @@ -71,7 +71,7 @@ impl ChainSwapHandler { let cloned = self.clone(); tokio::spawn(async move { let mut rescan_interval = tokio::time::interval(Duration::from_secs(60 * 10)); - rescan_interval.set_missed_tick_behavior(MissedTickBehavior::Burst); + rescan_interval.set_missed_tick_behavior(MissedTickBehavior::Skip); loop { tokio::select! {