From f29f134dcf710fc1a5cc9151b4128cd45c5a7e81 Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Tue, 20 Aug 2024 08:46:19 +0200 Subject: [PATCH] feat(networking): increase circuit bytes limit --- sn_networking/src/driver.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sn_networking/src/driver.rs b/sn_networking/src/driver.rs index b18b532074..75bacf09f3 100644 --- a/sn_networking/src/driver.rs +++ b/sn_networking/src/driver.rs @@ -598,6 +598,8 @@ impl NetworkBuilder { max_circuits: 1024, // The total amount of relayed connections at any given moment. max_circuits_per_peer: 256, // Amount of relayed connections per peer (both dst and src) circuit_src_rate_limiters: vec![], // No extra rate limiting for now + // We should at least be able to relay packets with chunks etc. + max_circuit_bytes: MAX_PACKET_SIZE as u64, ..Default::default() }; libp2p::relay::Behaviour::new(peer_id, relay_server_cfg)