diff --git a/config/src/comments.rs b/config/src/comments.rs index 3409dbcaf..68d5b1316 100644 --- a/config/src/comments.rs +++ b/config/src/comments.rs @@ -229,7 +229,7 @@ fn comments() -> HashMap { #ban_window = 10800 #maximum number of peers -#peer_max_count = 25 +#peer_max_count = 125 #preferred minimum number of peers (we'll actively keep trying to add peers #until we get to at least this number diff --git a/p2p/src/types.rs b/p2p/src/types.rs index 952e4a027..b431b7189 100644 --- a/p2p/src/types.rs +++ b/p2p/src/types.rs @@ -49,7 +49,7 @@ pub const MAX_LOCATORS: u32 = 20; const BAN_WINDOW: i64 = 10800; /// The max peer count -const PEER_MAX_COUNT: u32 = 25; +const PEER_MAX_COUNT: u32 = 125; /// min preferred peer count const PEER_MIN_PREFERRED_COUNT: u32 = 8;