-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rate Limiting issues in Ocelot #1975
Comments
Thanks for reporting to us once again! But this is well-known #1590 bug ❕ As a quick fix, define |
Duplicate of #1590 |
And stop terrifying us with duplicated bugs ❗ Please start your contribution to the project! 🆗❔ |
Thanks, you @raman-m for update and solution. Currently I am fully occupied in my ongoing project. Sure, I will be ready to contribute to your project whenever i am free up here. |
@raman-m My linkdin id is Sheru Kumar Gaur |
Rate Limit is not working when period and period timespan values are different. When we are making same value for period and period timespan then it is working for Rate limiting on configured service. In below configuration first case Rate Limiting is working and in second case Rate Limiting is not working.
"RateLimitOptions": {
"ClientWhitelist": ["HOR777"],
"EnableRateLimiting": true,
"Period": "10s",
"PeriodTimespan": 10,
"Limit": 2
},
"RateLimitOptions": {
"ClientWhitelist": ["HOR777"],
"EnableRateLimiting": true,
"Period": "10s",
"PeriodTimespan": 15,
"Limit": 2
},
Please provide the solution because rate Limiting is not working as per Ocelot documentation. Please provide it is product backlog or ongoing issues.
The text was updated successfully, but these errors were encountered: