From 8671fb76150f3e8c77811a9717719f2f7badec64 Mon Sep 17 00:00:00 2001
From: Pierre Krieger <pierre.krieger1708@gmail.com>
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 <git@kchr.de>
---
 substrate/client/cli/src/params/network_params.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/substrate/client/cli/src/params/network_params.rs b/substrate/client/cli/src/params/network_params.rs
index 39f98b35739..5580dea45bd 100644
--- a/substrate/client/cli/src/params/network_params.rs
+++ b/substrate/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,
-- 
GitLab