mirror of
https://github.com/aljazceru/wot-relay.git
synced 2025-12-19 23:34:20 +01:00
less restrictive rate limits
This commit is contained in:
2
main.go
2
main.go
@@ -88,7 +88,7 @@ func main() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
relay.RejectConnection = append(relay.RejectConnection,
|
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)
|
relay.StoreEvent = append(relay.StoreEvent, db.SaveEvent)
|
||||||
|
|||||||
Reference in New Issue
Block a user