diff --git a/sn_networking/src/driver.rs b/sn_networking/src/driver.rs index daddd192f1..442719ea6d 100644 --- a/sn_networking/src/driver.rs +++ b/sn_networking/src/driver.rs @@ -362,7 +362,12 @@ impl NetworkBuilder { // Gossipsub behaviour // set default parameters for gossipsub - let gossipsub_config = libp2p::gossipsub::Config::default(); + let gossipsub_config = libp2p::gossipsub::ConfigBuilder::default() + .mesh_n(25) + .mesh_n_low(24) + .mesh_n_high(48) + .build() + .unwrap(); // Set the message authenticity - Here we expect the publisher // to sign the message with their key.