Skip to content

Commit

Permalink
increase throttle period from 100 mus to ms
Browse files Browse the repository at this point in the history
  • Loading branch information
aszepieniec committed Sep 1, 2023
1 parent f5077be commit 0d2fdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mine_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async fn mine_block(
// Mining takes place here
while Hash::hash(&block_header) >= threshold {
if state.cli.throttled_mining {
tokio::time::sleep(Duration::from_micros(100)).await;
tokio::time::sleep(Duration::from_millis(100)).await;
}

// If the sender is cancelled, the parent to this thread most
Expand Down

0 comments on commit 0d2fdf1

Please sign in to comment.