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.
Replies: 3 comments 3 replies
-
As checked that this issue is already under development on ticket reference mentioned below |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #1590 which may be fixed by #1592 |
Beta Was this translation helpful? Give feedback.
-
Thanks 👍
|
Beta Was this translation helpful? Give feedback.
Hello, @anonimousspider !
The fix is scheduled for the Annual 2023 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: