You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The pattern for using RedLock.net is as follows:
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?The text was updated successfully, but these errors were encountered: