Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maplant committed May 17, 2024
1 parent 4b45c1c commit 8ebb8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile_verifier/src/boosting_oracles/data_sets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,8 @@ where
.await?;
}

let mut wakeup = Instant::now() + poll_duration.to_std()?;
loop {
let wakeup = Instant::now() + poll_duration.to_std()?;

#[rustfmt::skip]
tokio::select! {
_ = self.new_coverage_object_notification.await_new_coverage_object() => {
Expand All @@ -350,6 +349,7 @@ where
},
_ = tokio::time::sleep_until(wakeup) => {
self.check_for_new_data_sets().await?;
wakeup = Instant::now() + poll_duration.to_std()?;
}
}
}
Expand Down

0 comments on commit 8ebb8c1

Please sign in to comment.