udp load test: remove ThreadId newtype, use poll token 0 in all workers

This commit is contained in:
Joakim Frostegård 2021-11-28 22:33:55 +01:00
parent f068d86e0d
commit 9d8f9d8f7c
3 changed files with 2 additions and 7 deletions

View file

@ -4,9 +4,6 @@ use hashbrown::HashMap;
use aquatic_udp_protocol::*;
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
pub struct ThreadId(pub u8);
#[derive(PartialEq, Eq, Clone)]
pub struct TorrentPeer {
pub info_hash: InfoHash,