Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public async Task<bool> LockAsync(string resource, Func<Task> action, int timeou
{
if (handle == null)
{
_logger.LogWarning($"Acquire lock for {resource} failed due to after {acquireTimeout}s timeout.");
return false;
}

Expand Down Expand Up @@ -66,7 +65,6 @@ public bool Lock(string resource, Action action, int timeoutInSeconds = 30, int
{
if (handle == null)
{
_logger.LogWarning($"Acquire lock for {resource} failed due to after {acquireTimeout}s timeout.");
return false;
}
else
Expand Down
Loading