A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/madelson/DistributedLock/issues/115 below:

Granted lock never released · Issue #115 · madelson/DistributedLock · GitHub

Second time I've run into a particular issue.

A granted lock is never released after over a day.

Using the following code:

var myLock = new SqlDistributedLock($"ProductsJob_<Id>, "ConnectionString");
using (var handle = await myLock.TryAcquireAsync(TimeSpan.FromHours(1)))
...

After killing the lock

KILL 65

The lock is released an application continues to work.

Is there any work around for this?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4