From 8e7f8425f9882ef0cc35ef518c0fc40828647f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 20 Feb 2022 00:48:58 +0100 Subject: [PATCH] udp: default to 120s max_connection_age, since it is in BEP0015 --- aquatic_udp/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquatic_udp/src/config.rs b/aquatic_udp/src/config.rs index 42297c9..e90e2e7 100644 --- a/aquatic_udp/src/config.rs +++ b/aquatic_udp/src/config.rs @@ -188,7 +188,7 @@ impl Default for CleaningConfig { connection_cleaning_interval: 60, torrent_cleaning_interval: 60 * 2, pending_scrape_cleaning_interval: 60 * 10, - max_connection_age: 60 * 5, + max_connection_age: 60 * 2, max_peer_age: 60 * 20, max_pending_scrape_age: 60, }