Connecting Redis server via Sentinel is stuck #2379
-
Hi
And stop |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Looks like I solved the issue |
Beta Was this translation helpful? Give feedback.
Looks like I solved the issue
After I noticed that the Redis sentinel was answering I understood that the spring had some sort of deadlock so I looked at the code for references to the Redis bean
I found that we have a health indicator for the Redis that receives an instance of the Redis bean, so just mark the injected bean as @lazy solve the issue (probably letting the Redis lib complete the initialization)
@mp911de Thanks for the tip