RedLock.net
RedLock.net copied to clipboard
Unlock from a different server
The pattern for using RedLock.net is as follows:
using (var redLock = await redlockFactory.CreateLockAsync(resource, expiry))
if (redLock.IsAcquired)
{
// do stuff
}
However, in our case, the server that does the locking and the server that would do the unlocking (upon completion) are different. Is there any way to unlock given just the resource and some kind of internal identifier?