mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_udp: split handlers.rs into submodules
This commit is contained in:
parent
f65bcd7f56
commit
ff49022efe
7 changed files with 497 additions and 457 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue