udp load test: refactor worker

This commit is contained in:
Joakim Frostegård 2024-01-04 18:34:18 +01:00
parent 1e9b5c450c
commit d48deeff8c
3 changed files with 288 additions and 340 deletions

View file

@ -84,7 +84,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
WorkerIndex::SocketWorker(i as usize),
);
run_worker_thread(state, gamma, &config, addr)
Worker::run(state, gamma, config, addr)
})?;
}