Skip to content

Commit

Permalink
Skip missed ticks (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross authored Oct 20, 2024
1 parent 3c69246 commit 96bfe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/chain_swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
Expand Down

0 comments on commit 96bfe46

Please sign in to comment.