http: default to max_scrape_torrents = 100

This commit is contained in:
Joakim Frostegård 2022-03-20 19:37:01 +01:00
parent 1d67575fba
commit 9e49cb0bca

View file

@ -94,7 +94,7 @@ pub struct ProtocolConfig {
impl Default for ProtocolConfig {
fn default() -> Self {
Self {
max_scrape_torrents: 255, // FIXME: what value is reasonable?
max_scrape_torrents: 100,
max_peers: 50,
peer_announce_interval: 120,
}