From bddfaeec804d8ee499a1285ea98995d8c0aa47de Mon Sep 17 00:00:00 2001 From: cloudhead Date: Wed, 1 May 2024 16:06:23 +0200 Subject: [PATCH] node: New relay configuration for nodes Relay now has three values: "always", "never" and "auto". The first two operate like the previous `true`/`false`. The new (default) value turns relaying on for nodes with public (external) addresses and off for nodes without. This should reduce redundant traffic on the network, that was causing the rate limiters to trigger. --- radicle-httpd/src/api/v1/profile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-httpd/src/api/v1/profile.rs b/radicle-httpd/src/api/v1/profile.rs index 85a61800e..827c2b54a 100644 --- a/radicle-httpd/src/api/v1/profile.rs +++ b/radicle-httpd/src/api/v1/profile.rs @@ -92,7 +92,7 @@ mod routes { "tor": null, "network": "main", "log": "INFO", - "relay": true, + "relay": "auto", "limits": { "routingMaxSize": 1000, "routingMaxAge": 604800,