Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use sentinel config #62

Open
seninm01 opened this issue Dec 2, 2022 · 0 comments
Open

Unable to use sentinel config #62

seninm01 opened this issue Dec 2, 2022 · 0 comments

Comments

@seninm01
Copy link

seninm01 commented Dec 2, 2022

Because of @default using 127.0.0.1 host and default port, when using sentinel it always barfs here:

redix/lib/redix/start_options.ex

Line 84 in 81a2e85
raise ArgumentError, ":host or :port can't be passed as option if :sentinel is used"

Need to be careful with

opts = Keyword.merge(@defaults, opts)
because host and port are already present in the defaults and Redix won't allow sentinel config to also be supplied in this case.

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

No branches or pull requests

1 participant