phoenix_pubsub_redis icon indicating copy to clipboard operation
phoenix_pubsub_redis copied to clipboard

Fix Redis Sentinel option config

Open parthdesai93 opened this issue 10 months ago • 1 comments

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 avatar Jan 10 '25 18:01 parthdesai93

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 avatar Jan 10 '25 18:01 parthdesai93