Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Decrease default --out-peers from 25 to 15 #12434

Merged
merged 2 commits into from
Oct 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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