Skip to content

Commit

Permalink
Decrease default --out-peers from 25 to 15 (paritytech#12434)
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
2 people authored and ark0f committed Feb 27, 2023
1 parent 7a02c94 commit 9a6c547
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/cli/src/params/network_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a6c547

Please sign in to comment.