mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Upgrade metrics dependencies
This commit is contained in:
parent
ea06ffd513
commit
19448fbc84
7 changed files with 35 additions and 39 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue