Skip to content

Granted lock never released #115

Description

@gtaylor44

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)))
...

app lock

After killing the lock

KILL 65

The lock is released an application continues to work.

Is there any work around for this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions