Skip to content

Commit b8a9800

Browse files
apollo_network: turned off flood publish in gossipsub
1 parent 11854af commit b8a9800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo_network/src/mixed_behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl MixedBehaviour {
114114
gossipsub::MessageAuthenticity::Signed(keypair),
115115
gossipsub::ConfigBuilder::default()
116116
// TODO(shahak): try to reduce this bound.
117-
.max_transmit_size(1 << 34)
117+
.max_transmit_size(1 << 34).flood_publish(false)
118118
.build()
119119
.expect("Failed to build gossipsub config"),
120120
)

0 commit comments

Comments
 (0)