mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
udp: config: rename channel_recv_timeout_ms and move to root, add docs
This commit is contained in:
parent
2fe57b9f67
commit
125d3c49d6
2 changed files with 8 additions and 17 deletions
|
|
@ -90,7 +90,7 @@ pub fn run_request_worker(
|
|||
let mut torrents = TorrentMaps::default();
|
||||
let mut small_rng = SmallRng::from_entropy();
|
||||
|
||||
let timeout = Duration::from_millis(config.handlers.channel_recv_timeout_ms);
|
||||
let timeout = Duration::from_millis(config.request_channel_recv_timeout_ms);
|
||||
let mut peer_valid_until = ValidUntil::new(config.cleaning.max_peer_age);
|
||||
|
||||
let cleaning_interval = Duration::from_secs(config.cleaning.torrent_cleaning_interval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue