mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
udp load test: remove ThreadId newtype, use poll token 0 in all workers
This commit is contained in:
parent
f068d86e0d
commit
9d8f9d8f7c
3 changed files with 2 additions and 7 deletions
|
|
@ -62,7 +62,6 @@ fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
// Start workers
|
||||
|
||||
for i in 0..config.workers {
|
||||
let thread_id = ThreadId(i);
|
||||
let port = config.network.first_port + (i as u16);
|
||||
|
||||
let ip = if config.server_address.is_ipv6() {
|
||||
|
|
@ -87,7 +86,7 @@ fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
WorkerIndex::SocketWorker(i as usize),
|
||||
);
|
||||
|
||||
run_worker_thread(state, pareto, &config, addr, thread_id)
|
||||
run_worker_thread(state, pareto, &config, addr)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue