mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-20 17:42:20 +01:00
Reduce the maximum number of simultaneous conversions.
This commit is contained in:
1 parent
357a3b6d6c
commit
17cc4c8dcf
1 file changed
+2
-2
@@ -173,8 +173,8 @@ namespace FileConverter
|
||||
private void Initialize()
|
||||
{
|
||||
Diagnostics.Debug.Log("File Converter v" + ApplicationVersion.ToString());
|
||||
Diagnostics.Debug.Log("The number of processors on this computer is {0}. Set the default number of conversion threads to {0}", Environment.ProcessorCount);
|
||||
this.numberOfConversionThread = Environment.ProcessorCount;
|
||||
this.numberOfConversionThread = System.Math.Max(1, Environment.ProcessorCount / 2);
|
||||
Diagnostics.Debug.Log("The number of processors on this computer is {0}. Set the default number of conversion threads to {0}", this.numberOfConversionThread);
|
||||
|
||||
// Retrieve arguments.
|
||||
Debug.Log("Retrieve arguments...");
|
||||
|
||||
Reference in new issue
Block a user