mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-03-30 04:31:58 +02:00
sane defaults: increase initial connections limit burst.
This commit is contained in:
parent
79eaedcffe
commit
b8bb58f77c
@ -19,6 +19,6 @@ func ApplySaneDefaults(relay *khatru.Relay) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
relay.RejectConnection = append(relay.RejectConnection,
|
relay.RejectConnection = append(relay.RejectConnection,
|
||||||
ConnectionRateLimiter(1, time.Minute*5, 3),
|
ConnectionRateLimiter(1, time.Minute*5, 10),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user