From 2c64b36291bc5cafa998426d6ee5611cfca2907a Mon Sep 17 00:00:00 2001 From: cloudhead Date: Tue, 30 Apr 2024 14:46:30 +0200 Subject: [PATCH] node: Increase default rate-limiter config With the increase in traffic on the network after launch, the old defaults don't make sense anymore. Longer term, we should look into throttling outgoing messages as well, prioritizing original messages over relayed messages. --- radicle-httpd/src/api/v1/profile.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radicle-httpd/src/api/v1/profile.rs b/radicle-httpd/src/api/v1/profile.rs index 2307a0b58..85a61800e 100644 --- a/radicle-httpd/src/api/v1/profile.rs +++ b/radicle-httpd/src/api/v1/profile.rs @@ -101,12 +101,12 @@ mod routes { "maxOpenFiles": 4096, "rate": { "inbound": { - "fillRate": 0.2, - "capacity": 32 + "fillRate": 2.0, + "capacity": 128 }, "outbound": { - "fillRate": 1.0, - "capacity": 64 + "fillRate": 5.0, + "capacity": 256 } }, "connection": {