mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_udp: move some config vars to new substruct, ProtocolConfig
This commit is contained in:
parent
5af9ae4ede
commit
840f67fc8d
4 changed files with 32 additions and 14 deletions
|
|
@ -141,7 +141,7 @@ fn read_requests(
|
|||
Ok((amt, src)) => {
|
||||
let request = request_from_bytes(
|
||||
&buffer[..amt],
|
||||
config.network.max_scrape_torrents
|
||||
config.protocol.max_scrape_torrents
|
||||
);
|
||||
|
||||
bytes_received += amt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue