summarylogtreecommitdiffstats
path: root/processor_multiplier.patch
blob: 4620a612b02eadece3b4aca377ee25856accf6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Engine/Source/Programs/UnrealBuildTool/Executors/LocalExecutor.cs b/Engine/Source/Programs/UnrealBuildTool/Executors/LocalExecutor.cs
index 47cd98680ba..1072d5bc3e6 100644
--- a/Engine/Source/Programs/UnrealBuildTool/Executors/LocalExecutor.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Executors/LocalExecutor.cs
@@ -305,7 +305,7 @@ namespace UnrealBuildTool
 			// No hyper-threading. Only kicking off a task per CPU to keep machine responsive.
 			else
 			{
-				MaxActionsToExecuteInParallel = NumPhysicalCores;
+				MaxActionsToExecuteInParallel = (int) (NumPhysicalCores * ProcessorCountMultiplier);
 			}
 
 #if !NET_CORE