<Allow count="3"/> <Interval>1</Interval> <TimeUnit>minute</TimeUnit> <Distrubuted>true</Distrubuted> <Synchronous>true</Synchronous>
According to this configuration, I expect that after every 3 messages, the policy has to restrict the call. But in actual use, it restricted at 10 and no more restrictions.
Could someone explain this to me? Do I need to change anything in my policy?
Maybe you spelled Distrubuted wrong. You need "Distributed"
A mis-spelling in your policy configuration will mean the quota is not distributed. I suspect that is the problem.
Try correcting the spelling and see if it works for you.
Also:
It's generally a bad idea to use Distributed=true and Synchronous=true.
That's gonna make it very slow.
Don't do that.
You probably don't need it.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |