Skip to content

Commit 3346045

Browse files
apollo_network: removed one connection per peerID limit
1 parent 83f4c69 commit 3346045

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
@@ -81,7 +81,7 @@ impl MixedBehaviour {
8181
StreamProtocol::try_from_owned(format!("/starknet/kad/{chain_id}/1.0.0"))
8282
.expect("Failed to create StreamProtocol from a string that starts with /");
8383
let kademlia_config = kad::Config::new(protocol_name);
84-
let connection_limits = ConnectionLimits::default().with_max_established_per_peer(Some(1));
84+
let connection_limits = ConnectionLimits::default(); // .with_max_established_per_peer(Some(1));
8585

8686
Self {
8787
limits: connection_limits::Behaviour::new(connection_limits),

0 commit comments

Comments
 (0)