remove duplicate DistributedLocker
This commit is contained in:
parent
cb6f788295
commit
4f9cd09b40
|
|
@ -28,8 +28,6 @@ public static class BotSharpCoreExtensions
|
|||
services.AddScoped<IUserService, UserService>();
|
||||
services.AddScoped<ProcessorFactory>();
|
||||
|
||||
services.AddSingleton<DistributedLocker>();
|
||||
|
||||
// Register cache service
|
||||
var cacheSettings = new SharpCacheSettings();
|
||||
config.Bind("SharpCache", cacheSettings);
|
||||
|
|
|
|||
Loading…
Reference in a new issue