Upgrade metrics dependencies

This commit is contained in:
Joakim Frostegård 2025-01-12 22:15:27 +01:00
parent ea06ffd513
commit 19448fbc84
7 changed files with 35 additions and 39 deletions

View file

@ -64,9 +64,9 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
let state = state.clone();
let statistics_sender = statistics_sender.clone();
Builder::new().name("load-test".into()).spawn(move || {
Worker::run(config, state, statistics_sender, peers, addr)
})?;
Builder::new()
.name("load-test".into())
.spawn(move || Worker::run(config, state, statistics_sender, peers, addr))?;
}
monitor_statistics(state, &config, statistics_receiver);