We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f4c69 commit 3346045Copy full SHA for 3346045
crates/apollo_network/src/mixed_behaviour.rs
@@ -81,7 +81,7 @@ impl MixedBehaviour {
81
StreamProtocol::try_from_owned(format!("/starknet/kad/{chain_id}/1.0.0"))
82
.expect("Failed to create StreamProtocol from a string that starts with /");
83
let kademlia_config = kad::Config::new(protocol_name);
84
- let connection_limits = ConnectionLimits::default().with_max_established_per_peer(Some(1));
+ let connection_limits = ConnectionLimits::default(); // .with_max_established_per_peer(Some(1));
85
86
Self {
87
limits: connection_limits::Behaviour::new(connection_limits),
0 commit comments