Increase peer max count significantly (#2754)

* Increase peer max count significantly

* Reduce limit to 125, like bitcoin
This commit is contained in:
Ignotus Peverell
2019-04-24 15:04:59 -07:00
committed by GitHub
parent de21f0d62d
commit 81a6af9624
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ fn comments() -> HashMap<String, String> {
#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
+1 -1
View File
@@ -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;