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

Remove hardcoded Redis Ring to allow users to use any Redis mode they want #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

binhnguyenduc
Copy link

I noticed the hardcode use of Redis Ring in adapter/redis package. This is limiting as it requires users to use Redis Ring if they want to use Redis as cache backend.

I have modified to include a new interface, Rediser. This will allow users to use any type of redis client they want from package redis v7.

If you think this will be of benefits to community, please consider merging this Pull Requests. Thank you.

…diser interface. This is to allow more flexibility in different redis setup, by removing the hardcoded redis Ring, the library gives back control to its user in choosing which kind of redis client fits them best: Client, FailoverClient, Ring, etc.
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

Successfully merging this pull request may close these issues.

1 participant