Skip to content

Conversation

@parthdesai93
Copy link

@parthdesai93 parthdesai93 commented Jan 10, 2025

When trying to use Redis Sentinel, Redix crashes. I have narrowed it down to the code that is causing issue. We merge default opts always. With this PR, we won't merge them if there sentinel value is present.

@parthdesai93
Copy link
Author

This is the code that raises when we try to initialize Redis Sentinel: https://github.com/whatyouhide/redix/blob/d571d5b86c7c48c22d823187fd9a20726d6810e3/lib/redix/start_options.ex#L264-L267

@parthdesai93 parthdesai93 changed the title Only add default host and port if sentinel is not present Fix Redis Sentinel option config Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants