mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
bencher: change to account for new aquatic_udp implementation
This commit is contained in:
parent
358c8951c0
commit
2c7bcf71ad
4 changed files with 33 additions and 36 deletions
|
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue