The Free Software Media System - Server Backend & API
Use all system cores when threads are set to auto or bigger than the amount of system's cores
Fernando Fernándezd7cdaeea7dfc
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.csindex 5846a603a2..3a9f57c55b 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs@@ -2344,7 +2344,7 @@ namespace MediaBrowser.Controller.MediaEncoding// Automaticif (threads <= 0 || threads >= Environment.ProcessorCount){- return 0;+ return Environment.ProcessorCount;}return threads;