Skip to content

Commit 9a54e77

Browse files
apollo_network: removed one connection per peerID limit
1 parent f3c41ae commit 9a54e77

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

9191
Self {
9292
limits: connection_limits::Behaviour::new(connection_limits),

0 commit comments

Comments
 (0)