Quota policy: Request are accepted even after the quota limit as been reached

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Quota async="false" continueOnError="false" enabled="true" name="Qp-QuotaDemo"> <DisplayName>Qp-QuotaDemo</DisplayName> <Properties/> <Allow count="2"/> <Interval>1</Interval> <TimeUnit>minute</TimeUnit> <Distributed>true</Distributed> <synchronous>true</synchronous> </Quota>

10995-capture.png

Solved Solved
0 3 149
1 ACCEPTED SOLUTION

Not applicable

I got the answer for you. i tried to replicate the scenario you have. In Apigee limits its clearly specified that it takes minimum 10 seconds to sync the quota counter. I did wait for 10 seconds after hitting 2 times as per your code. And after 10 seconds when I did hit I got the error as expected.

View solution in original post

3 REPLIES 3

Not applicable

are you using the trial account?

Not applicable

I got the answer for you. i tried to replicate the scenario you have. In Apigee limits its clearly specified that it takes minimum 10 seconds to sync the quota counter. I did wait for 10 seconds after hitting 2 times as per your code. And after 10 seconds when I did hit I got the error as expected.

Thank you Priyadarshi.