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

ActionCable: don't allowlist keys passed to the Redis initializer #36053

Merged
merged 3 commits into from Apr 22, 2019

Conversation

blakestoddard
Copy link
Contributor

Summary

Rather than allowlisting keys that are able to be passed to the Redis adapter initalizer, pass all keys except for the ones that we explicitly know do not need to be passed to Redis. This prevents having to monitor for config changes to the redis-rb gem and having to update this line of code to match them, while also adding Redis Sentinel support to ActionCable (<- the real reason this came about).

cc @georgeclaghorn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants