From b8bb58f77cf8f4e8eab97ce819ba2a47e7139c11 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 11 Sep 2024 08:00:39 -0300 Subject: [PATCH] sane defaults: increase initial connections limit burst. --- policies/sane_defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policies/sane_defaults.go b/policies/sane_defaults.go index 6b775ac..4230b14 100644 --- a/policies/sane_defaults.go +++ b/policies/sane_defaults.go @@ -19,6 +19,6 @@ func ApplySaneDefaults(relay *khatru.Relay) { ) relay.RejectConnection = append(relay.RejectConnection, - ConnectionRateLimiter(1, time.Minute*5, 3), + ConnectionRateLimiter(1, time.Minute*5, 10), ) }