mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-03-24 14:29:17 +01:00
sane defaults: increase initial connections limit burst.
This commit is contained in:
@@ -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),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user