aquatic_ws_load_test: fix multiple issues with implementation

This commit is contained in:
Joakim Frostegård 2020-08-03 05:15:24 +02:00
parent 5523c87634
commit 9f445c7c03
3 changed files with 88 additions and 148 deletions

View file

@ -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(