From 9a6c5473f6522d7e3cd8c9c8d8639a359fb38806 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 18 Oct 2022 10:46:25 +0200 Subject: [PATCH] Decrease default --out-peers from 25 to 15 (#12434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- client/cli/src/params/network_params.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cli/src/params/network_params.rs b/client/cli/src/params/network_params.rs index 39f98b3573933..5580dea45bde6 100644 --- a/client/cli/src/params/network_params.rs +++ b/client/cli/src/params/network_params.rs @@ -82,12 +82,13 @@ pub struct NetworkParams { pub allow_private_ipv4: bool, /// Specify the number of outgoing connections we're trying to maintain. - #[arg(long, value_name = "COUNT", default_value_t = 25)] + #[arg(long, value_name = "COUNT", default_value_t = 15)] pub out_peers: u32, /// Maximum number of inbound full nodes peers. #[arg(long, value_name = "COUNT", default_value_t = 25)] pub in_peers: u32, + /// Maximum number of inbound light nodes peers. #[arg(long, value_name = "COUNT", default_value_t = 100)] pub in_peers_light: u32,