From 03620f8c960777890a3ea0ffcd844adbaaa8454d Mon Sep 17 00:00:00 2001 From: "nick.yi" Date: Thu, 23 Apr 2026 16:57:52 +0800 Subject: [PATCH] optimize DistributedLocker log --- .../BotSharp.Core/Infrastructures/DistributedLocker.cs | 2 -- 1 file changed, 2 deletions(-) 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