From 0632b2419b47c4e318c299bca98dfd2f4fc35a39 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Thu, 2 May 2024 13:10:32 +0200 Subject: [PATCH] node: Further increase the rate-limit defaults The rate-limitter gets hit on connect, due to historical gossip messages being exchanged. This results in a high initial burst that needs to be accounted for. --- 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 827c2b54a..5916f9021 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": 2.0, - "capacity": 128 + "fillRate": 5.0, + "capacity": 1024 }, "outbound": { - "fillRate": 5.0, - "capacity": 256 + "fillRate": 10.0, + "capacity": 2048 } }, "connection": {