You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was working perfectly for number of requests per second, per minute, per hour based on unique client Id, but how to configure overall unique client per second, per minute, per hour
The text was updated successfully, but these errors were encountered:
gulzarahamed
changed the title
How to limit the number of unique clients and the number of requests per client
How to limit the number of unique clients overall?
Jul 11, 2024
It was working perfectly for number of requests per second, per minute, per hour based on unique client Id, but how to configure overall unique client per second, per minute, per hour
"ClientRateLimiting": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"HttpStatusCode": 429,
"ClientIdHeader": "X-ClientId",
"GeneralRules": [
{
"endpoint": "post:/api/employees",
"period": "1m",
"limit": 10
},
{
"endpoint": "post:/api/employees",
"period": "1h",
"limit": 50
},
{
"endpoint": "post:/api/employees",
"period": "1d",
"limit": 200
}]
}
The text was updated successfully, but these errors were encountered: