From fa5e609f11d2b4443183ebeadbcd00c5ea825f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 3 Apr 2022 16:49:22 +0200 Subject: [PATCH] http_private: remove connection cleaning config vars --- aquatic_http_private/src/config.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aquatic_http_private/src/config.rs b/aquatic_http_private/src/config.rs index d595376..3d38aef 100644 --- a/aquatic_http_private/src/config.rs +++ b/aquatic_http_private/src/config.rs @@ -93,21 +93,15 @@ impl Default for ProtocolConfig { pub struct CleaningConfig { /// Clean peers this often (seconds) pub torrent_cleaning_interval: u64, - /// Clean connections this often (seconds) - pub connection_cleaning_interval: u64, /// Remove peers that have not announced for this long (seconds) pub max_peer_age: u64, - /// Remove connections that haven't seen valid requests for this long (seconds) - pub max_connection_idle: u64, } impl Default for CleaningConfig { fn default() -> Self { Self { torrent_cleaning_interval: 30, - connection_cleaning_interval: 60, max_peer_age: 360, - max_connection_idle: 180, } } }