aquatic_udp: split handlers.rs into submodules

This commit is contained in:
Joakim Frostegård 2021-10-15 23:47:42 +02:00
parent f65bcd7f56
commit ff49022efe
7 changed files with 497 additions and 457 deletions

View file

@ -54,7 +54,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
loop {
::std::thread::sleep(Duration::from_secs(config.cleaning.interval));
tasks::clean_connections(&state);
let mut torrent_maps = state.torrents.lock();