We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3c41ae commit 9a54e77Copy full SHA for 9a54e77
crates/apollo_network/src/mixed_behaviour.rs
@@ -86,7 +86,7 @@ impl MixedBehaviour {
86
StreamProtocol::try_from_owned(format!("/starknet/kad/{chain_id}/1.0.0"))
87
.expect("Failed to create StreamProtocol from a string that starts with /");
88
let kademlia_config = kad::Config::new(protocol_name);
89
- let connection_limits = ConnectionLimits::default().with_max_established_per_peer(Some(1));
+ let connection_limits = ConnectionLimits::default(); // .with_max_established_per_peer(Some(1));
90
91
Self {
92
limits: connection_limits::Behaviour::new(connection_limits),
0 commit comments