From 4f9cd09b404523641954feb75911a3b4c464b3df Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Fri, 8 Nov 2024 20:19:52 +0000 Subject: [PATCH] remove duplicate DistributedLocker --- src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs b/src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs index 812d89a8..862ef899 100644 --- a/src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs +++ b/src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs @@ -28,8 +28,6 @@ public static class BotSharpCoreExtensions services.AddScoped(); services.AddScoped(); - services.AddSingleton(); - // Register cache service var cacheSettings = new SharpCacheSettings(); config.Bind("SharpCache", cacheSettings);