mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
aquatic_ws_load_test: fix multiple issues with implementation
This commit is contained in:
parent
5523c87634
commit
9f445c7c03
3 changed files with 88 additions and 148 deletions
|
|
@ -53,18 +53,11 @@ fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
pareto: Arc::new(pareto),
|
||||
};
|
||||
|
||||
// Start socket workers
|
||||
|
||||
for _ in 0..config.num_workers {
|
||||
|
||||
let config = config.clone();
|
||||
let state = state.clone();
|
||||
|
||||
thread::spawn(move || run_socket_thread(
|
||||
&config,
|
||||
state,
|
||||
1
|
||||
));
|
||||
thread::spawn(move || run_socket_thread(&config, state,));
|
||||
}
|
||||
|
||||
monitor_statistics(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue