From ed76ae568edfc0feba84ef76cdfff7972eaa90e6 Mon Sep 17 00:00:00 2001 From: Barry Deen Date: Thu, 12 Sep 2024 15:26:38 -0400 Subject: [PATCH] less restrictive rate limits --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4cdd34e..ac4fbdf 100644 --- a/main.go +++ b/main.go @@ -88,7 +88,7 @@ func main() { ) relay.RejectConnection = append(relay.RejectConnection, - policies.ConnectionRateLimiter(3, time.Minute*5, 9), + policies.ConnectionRateLimiter(3, time.Minute*1, 20), ) relay.StoreEvent = append(relay.StoreEvent, db.SaveEvent)