mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
use DEFAULT_TARGET_PEERS for target peers everywhere (#7916)
Was going to leave this as a comment on #7877 but when noticed it had already been merged. we have `DEFAULT_TARGET_PEERS` which was set to 50 and only used on the `Default` impl for `peer_manager`'s `Config`, which then get's overridden by this `lighthouse_network::Config`s default This PR unifies everything on `DEFAULT_TARGET_PEERS`
This commit is contained in:
@@ -8,7 +8,7 @@ pub const DEFAULT_PING_INTERVAL_OUTBOUND: u64 = 15;
|
||||
pub const DEFAULT_PING_INTERVAL_INBOUND: u64 = 20;
|
||||
|
||||
/// Default number of peers to connect to.
|
||||
pub const DEFAULT_TARGET_PEERS: usize = 50;
|
||||
pub const DEFAULT_TARGET_PEERS: usize = 200;
|
||||
|
||||
/// Configurations for the PeerManager.
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user