diff --git a/Worker/src/DLLWorker/Program.cs b/Worker/src/DLLWorker/Program.cs index eb7b5178..0a15ae1f 100644 --- a/Worker/src/DLLWorker/Program.cs +++ b/Worker/src/DLLWorker/Program.cs @@ -26,5 +26,9 @@ AppContext.SetSwitch("System.Net.SocketsHttpHandler.Http2FlowControl.DisableDynamicWindowSizing", true); -WorkerServer.Create(serviceConfigurator: collection => collection.AddSingleton()) +WorkerServer.Create(serviceConfigurator: collection => + { + collection.AddSingleton(); + collection.AddSingleton(); + }) .Run();