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

Add option to configure how the redis client is created #46

Merged
merged 3 commits into from
Sep 28, 2021

Conversation

jorgemanrubia
Copy link
Collaborator

@jorgemanrubia jorgemanrubia commented Sep 27, 2021

This adds a new option config.kredis.connector to customize how the redis client is created.

An example where this would be useful is configuring a proxy that wraps the Redis connection to provide failover capabilities (e.g: using makara).

cc @dhh

@jorgemanrubia jorgemanrubia force-pushed the configure-redis branch 2 times, most recently from 5630de7 to ffd1089 Compare September 27, 2021 14:21
lib/kredis/connections.rb Outdated Show resolved Hide resolved
This adds a new option config.kredis.redis_connector to customize how the redis client is created.

An example where this would be useful is configuring a proxy that wraps the Redis connection to provide failover capabilities (e.g: using makara).
@dhh dhh merged commit d048de3 into rails:main Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants