From ca29b580a24adca1dfa647e22160130900e85376 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Mon, 24 Jan 2022 12:08:00 +0000 Subject: [PATCH] Increase target subnet peers (#2948) In the latest release we decreased the target number of subnet peers. It appears this could be causing issues in some cases and so reverting it back to the previous number it wise. A larger PR that follows this will address some other related discovery issues and peer management around subnet peer discovery. --- beacon_node/lighthouse_network/src/behaviour/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/lighthouse_network/src/behaviour/mod.rs b/beacon_node/lighthouse_network/src/behaviour/mod.rs index 61ba855f6..2a7996109 100644 --- a/beacon_node/lighthouse_network/src/behaviour/mod.rs +++ b/beacon_node/lighthouse_network/src/behaviour/mod.rs @@ -53,7 +53,7 @@ use types::{ pub mod gossipsub_scoring_parameters; /// The number of peers we target per subnet for discovery queries. -pub const TARGET_SUBNET_PEERS: usize = 2; +pub const TARGET_SUBNET_PEERS: usize = 6; const MAX_IDENTIFY_ADDRESSES: usize = 10;