Reduce the maximum number of simultaneous conversions.

This commit is contained in:
Tichau committed 2016-04-21 08:18:56 +02:00
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...");