From 642230857e737c04cf319c0d3355246e570283a7 Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Tue, 24 Dec 2024 16:48:01 +0530 Subject: [PATCH] chore: reduce the number of reservations --- ant-networking/src/driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ant-networking/src/driver.rs b/ant-networking/src/driver.rs index bb1637a099..80d15af97b 100644 --- a/ant-networking/src/driver.rs +++ b/ant-networking/src/driver.rs @@ -665,7 +665,7 @@ impl NetworkBuilder { let relay_server = { let relay_server_cfg = relay::Config { - max_reservations: 128, // Amount of peers we are relaying for + max_reservations: 4, // Amount of peers we are relaying for 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