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

How to use it with Distributed Memory Cache? #67

Open
khteh opened this issue Nov 18, 2019 · 2 comments
Open

How to use it with Distributed Memory Cache? #67

khteh opened this issue Nov 18, 2019 · 2 comments

Comments

@khteh
Copy link

khteh commented Nov 18, 2019

While it is possible to switch to use Distributed Memory Cache to satisfy IDistributedCache dependency, is there any in-memory replacement for RedLock dependency? Need it for integration tests. Thanks.

@khteh
Copy link
Author

khteh commented Nov 18, 2019

Tried to Moq CreateLockAsync but it is non-overridable and therefore cannot be mocked!

@shershak
Copy link

Have the same question, is there way to switch to Distributed Memory Cache in case when Redis isn't configured?

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

2 participants