diff --git a/crates/apollo_network/src/mixed_behaviour.rs b/crates/apollo_network/src/mixed_behaviour.rs index 25256340023..ef6a35bee27 100644 --- a/crates/apollo_network/src/mixed_behaviour.rs +++ b/crates/apollo_network/src/mixed_behaviour.rs @@ -116,7 +116,7 @@ impl MixedBehaviour { gossipsub::MessageAuthenticity::Signed(keypair), gossipsub::ConfigBuilder::default() // TODO(shahak): try to reduce this bound. - .max_transmit_size(1 << 34).flood_publish(false).gossip_factor(0.0).duplicate_cache_time(Duration::from_secs(5)) + .max_transmit_size(1 << 20).flood_publish(false).mesh_n_low(5).mesh_n(10).mesh_n_high(15).mesh_outbound_min(3).gossip_factor(0.0).gossip_lazy(0).gossip_retransimission(0).history_length(1).history_gossip(0).heartbeat_interval(Duration::from_millis(700)).duplicate_cache_time(Duration::from_secs(3)) .build() .expect("Failed to build gossipsub config"), )