How to skip rate limit check when Redis is down? #122
Answered
by
MarcGiffing
liron-tepper
asked this question in
Q&A
-
Hello @MarcGiffing, @vladimir-bukhtoyarov, When Redis is down, I am getting a RedisConnectionFailureException. Thanks a lot, |
Beta Was this translation helpful? Give feedback.
Answered by
MarcGiffing
Dec 4, 2022
Replies: 1 comment
-
You may add a Skip Condition to your filter: bucket4j.filters[0].rate-limits[0][email protected]() You have to provide a Bean with the name redisStatus with implements the example methods. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MarcGiffing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may add a Skip Condition to your filter:
bucket4j.filters[0].rate-limits[0][email protected]()
or
bucket4j.filters[0].rate-limits[0][email protected]()
You have to provide a Bean with the name redisStatus with implements the example methods.