bencher: change to account for new aquatic_udp implementation

This commit is contained in:
Joakim Frostegård 2024-02-10 18:51:13 +01:00
parent 358c8951c0
commit 2c7bcf71ad
4 changed files with 33 additions and 36 deletions

View file

@ -94,11 +94,11 @@ pub struct State {
pub server_start_instant: ServerStartInstant,
}
impl State {
pub fn new(config: &Config) -> Self {
impl Default for State {
fn default() -> Self {
Self {
access_list: Arc::new(AccessListArcSwap::default()),
torrent_maps: TorrentMaps::new(config),
torrent_maps: TorrentMaps::default(),
server_start_instant: ServerStartInstant::new(),
}
}