Skip to content

Commit

Permalink
workload: add more to details
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Sep 18, 2024
1 parent c0d0f52 commit 01515dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workload/src/steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl WorkloadExecutor {
if let Ok(block) = latest_block {
let current_height = block.block.header.height.value();
let block_height = current_height;
if block_height >= execution_height {
if block_height > execution_height {
break current_height
} else {
tracing::info!(
Expand All @@ -334,7 +334,8 @@ impl WorkloadExecutor {
};

// introduce some random sleep
let random_timeout = state.rng.gen_range(0.1f64..3.0f64);
// let random_timeout = state.rng.gen_range(0.1f64..3.0f64);
let random_timeout = 0.0f64;
sleep(Duration::from_secs_f64(random_timeout)).await;

for check in checks {
Expand Down

0 comments on commit 01515dc

Please sign in to comment.