mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Increase peer max count significantly (#2754)
* Increase peer max count significantly * Reduce limit to 125, like bitcoin
This commit is contained in:
parent
de21f0d62d
commit
81a6af9624
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue