diff --git a/src/Infrastructure/BotSharp.Core/Infrastructures/DistributedLocker.cs b/src/Infrastructure/BotSharp.Core/Infrastructures/DistributedLocker.cs index 06c96944d..cd3b30429 100644 --- a/src/Infrastructure/BotSharp.Core/Infrastructures/DistributedLocker.cs +++ b/src/Infrastructure/BotSharp.Core/Infrastructures/DistributedLocker.cs @@ -37,7 +37,6 @@ public async Task LockAsync(string resource, Func action, int timeou { if (handle == null) { - _logger.LogWarning($"Acquire lock for {resource} failed due to after {acquireTimeout}s timeout."); return false; } @@ -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