RedLock.net icon indicating copy to clipboard operation
RedLock.net copied to clipboard

How to use it with Distributed Memory Cache?

Open khteh opened this issue 6 years ago • 2 comments

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 avatar Nov 18 '19 01:11 khteh

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

khteh avatar Nov 18 '19 02:11 khteh

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

shershak avatar Dec 29 '21 21:12 shershak