Rails request throttling just half the given limit #595
Unanswered
adityappc
asked this question in
Questions (Q&A)
Replies: 1 comment
-
|
My guess is - you have the same problem as me, and the cache does not share across instances. do you happen to have 2 instances? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I want to throttle my rails api request to 10 requests per minute. Following is the configuration I have set:
below is the tracking configuration I have set:
somehow I am able to send just 5-6 requests every minute as opposed to 10 requests that should be allowed.
rack-attack version -> 6.5
config.cache_store = :redis_store
Can someone help me what I am doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions