diff --git a/pageserver/benches/bench_walredo.rs b/pageserver/benches/bench_walredo.rs index 9775c89002..d97f6fb318 100644 --- a/pageserver/benches/bench_walredo.rs +++ b/pageserver/benches/bench_walredo.rs @@ -126,11 +126,11 @@ fn bench_impl(redo_work: Arc, n_redos: u64, nclients: u64) -> Duration } rt.block_on(async move { - let mut total_wallclock_time = std::time::Duration::from_millis(0); - while let Some(res) = tasks.join_next().await { - total_wallclock_time += res.unwrap(); - } - total_wallclock_time + let mut total_wallclock_time = std::time::Duration::from_millis(0); + while let Some(res) = tasks.join_next().await { + total_wallclock_time += res.unwrap(); + } + total_wallclock_time }) }