Revert "Force min 4 threads in pool"

This reverts commit 789e47dfff.
pull/2/head
Qstick 5 years ago
parent 70601faa4f
commit 4951a97984

@ -1,6 +1,4 @@
using System;
using System.ServiceProcess;
using System.Threading;
using NLog;
using NzbDrone.Common.Composition;
using NzbDrone.Common.EnvironmentInfo;
@ -91,9 +89,6 @@ namespace Radarr.Host
//_cancelHandler = new CancelHandler();
}
ThreadPool.GetMinThreads(out var minWorker, out var minIOC);
ThreadPool.SetMinThreads(Math.Max(4, minWorker), Math.Max(4, minIOC));
_runtimeInfo.IsExiting = false;
DbFactory.RegisterDatabase(_container);
_hostController.StartServer();

Loading…
Cancel
Save