mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-06-21 15:05:09 +00:00
less restrictive rate limits
This commit is contained in:
parent
49bd213942
commit
ed76ae568e
2
main.go
2
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user