mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
@@ -1,6 +1,4 @@
|
|||||||
using System;
|
|
||||||
using System.ServiceProcess;
|
using System.ServiceProcess;
|
||||||
using System.Threading;
|
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Composition;
|
using NzbDrone.Common.Composition;
|
||||||
using NzbDrone.Common.EnvironmentInfo;
|
using NzbDrone.Common.EnvironmentInfo;
|
||||||
@@ -91,9 +89,6 @@ namespace Radarr.Host
|
|||||||
//_cancelHandler = new CancelHandler();
|
//_cancelHandler = new CancelHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadPool.GetMinThreads(out var minWorker, out var minIOC);
|
|
||||||
ThreadPool.SetMinThreads(Math.Max(4, minWorker), Math.Max(4, minIOC));
|
|
||||||
|
|
||||||
_runtimeInfo.IsExiting = false;
|
_runtimeInfo.IsExiting = false;
|
||||||
DbFactory.RegisterDatabase(_container);
|
DbFactory.RegisterDatabase(_container);
|
||||||
_hostController.StartServer();
|
_hostController.StartServer();
|
||||||
|
Reference in New Issue
Block a user