Need help in Rate Limiting Option in Ocelot #2053
-
We are facing some issue in rate limiting policy, whenever we try to apply below mentioned cases: Case1When we are trying to add RateLimiting with same value for Period and periodTimeSpan and it is working properly "RateLimitOptions": {
"ClientWhitelist": [],
"EnableRateLimiting": true,
"Period": "1s",
"PeriodTimespan": 1,
"Limit": 1
} Case 2When we are trying with different values of period and PeriodTimeSpan as mentioned below: but is not working "RateLimitOptions": {
"ClientWhitelist": [],
"EnableRateLimiting": true,
"Period": "60s",
"PeriodTimespan": 30,
"Limit": 10
} Could you please guide on the same? |
Beta Was this translation helpful? Give feedback.
Answered by
raman-m
Apr 23, 2024
Replies: 3 comments 3 replies
This comment was marked as spam.
This comment was marked as spam.
-
Duplicate of #1590 which may be fixed by #1592 |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks 👍
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, @anonimousspider !
The fix is scheduled for the Spring'24 release, which is currently underway. A faster merge into the release branch is possible with your contribution. Presently, PR #1592 is assigned to me as the original author is no longer maintaining it. On the other hand, I am preoccupied with significant developments, including the delivery of approximately 10 PRs across both milestones. The sole method to expedite this process is through your contribution.
Certainly! There are two potential scenarios to circumvent faulty behavior: