From b942886c714027d0016cd047673252cb3ef73101 Mon Sep 17 00:00:00 2001 From: MeTonaTOR Date: Thu, 2 Jul 2020 19:01:33 +0200 Subject: [PATCH] Restore CPU Affinity limit to 8 --- GameLauncher/App/MainScreen.cs | 2 +- GameLauncher/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GameLauncher/App/MainScreen.cs b/GameLauncher/App/MainScreen.cs index 23c060b2..78a1326b 100644 --- a/GameLauncher/App/MainScreen.cs +++ b/GameLauncher/App/MainScreen.cs @@ -1842,7 +1842,7 @@ private void LaunchGame(string userId, string loginToken, string serverIp, Form //if(!DetectLinux.LinuxDetected()) { var processorAffinity = 0; - for (var i = 0; i < Math.Min(Math.Max(1, Environment.ProcessorCount), 20); i++) + for (var i = 0; i < Math.Min(Math.Max(1, Environment.ProcessorCount), 8); i++) { processorAffinity |= 1 << i; } diff --git a/GameLauncher/Properties/AssemblyInfo.cs b/GameLauncher/Properties/AssemblyInfo.cs index b78ea9b6..8c211634 100644 --- a/GameLauncher/Properties/AssemblyInfo.cs +++ b/GameLauncher/Properties/AssemblyInfo.cs @@ -14,5 +14,5 @@ [assembly: ComVisible(false)] [assembly: Guid("0a114c5c-3566-4a62-b05d-cba311988d8a")] -[assembly: AssemblyVersion("2.1.3.2")] -[assembly: AssemblyFileVersion("2.1.3.2")] \ No newline at end of file +[assembly: AssemblyVersion("2.1.3.4")] +[assembly: AssemblyFileVersion("2.1.3.4")] \ No newline at end of file