Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Allow selecting database number and use existing IConnectionMultiplexer #318

Closed
wants to merge 3 commits into from

Conversation

israellot
Copy link

Redis have a database concept for separating key spaces. It basically let us use usually up to 16 different databases on same instance. This allows better flexibility and better separation of key spaces instead of prefixing keys.

I also introduced the possibility to inject an existing IConnectionMultiplexer for scenarios where the user has a singleton instance to be shared and minimize connections.

@dnfclas
Copy link

dnfclas commented Jun 14, 2017

@israellot,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.

It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@muratg
Copy link

muratg commented Aug 15, 2017

Thanks @israellot for submitting the PR. Unfortunately, the change in RedisCacheOptions will be a breaking change that we can take in a minor release, so I'll close this one. We'll use the bug https://github.com/aspnet/Caching/issues/343 to track this work.

@muratg muratg closed this Aug 15, 2017
@israellot
Copy link
Author

Thank you for considering it. Glad to help

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

Successfully merging this pull request may close these issues.

3 participants