phoenix_pubsub_redis
phoenix_pubsub_redis copied to clipboard
Fix Redis Sentinel option config
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.
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