Skip to content

Commit

Permalink
fix ticker2
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Sep 4, 2024
1 parent 5d4b461 commit f4dc037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/trie/prefetch/src/prefetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl TriePrefetch {
{
let mut join_set = JoinSet::new();
let mut interval = time::interval(time::Duration::from_secs(2));
let _ = interval.tick();
let _ = interval.tick().await;

loop {
tokio::select! {
Expand Down

0 comments on commit f4dc037

Please sign in to comment.