config.limit.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rate-limit Show documentation
Show all versions of rate-limit Show documentation
A handler that does rate limit in order to prevent attacks for public facing services.
---
# Rate Limit Handler Configuration
# If this handler is enabled or not
enabled: false
# Maximum concurrent requests allowed, if this number is exceeded, request will be queued.
concurrentRequest: 1000
# Overflow request queue size. -1 means there is no limit on the queue size
queueSize: -1