udp: set default max_scrape_torrents=70, max_response_peers=50

This commit is contained in:
Joakim Frostegård 2022-02-20 01:47:03 +01:00
parent 3785e57513
commit e938351a9e

View file

@ -123,8 +123,8 @@ pub struct ProtocolConfig {
impl Default for ProtocolConfig { impl Default for ProtocolConfig {
fn default() -> Self { fn default() -> Self {
Self { Self {
max_scrape_torrents: 255, max_scrape_torrents: 70,
max_response_peers: 255, max_response_peers: 50,
peer_announce_interval: 60 * 15, peer_announce_interval: 60 * 15,
} }
} }