промежуточный. временный фикс бага с отображением ядер если оба сервера не активно

This commit is contained in:
2023-11-30 01:25:26 +03:00
parent 53fd992346
commit 10b6cc03ab
9 changed files with 69 additions and 29 deletions

View File

@@ -1,6 +1,5 @@
package Common.Utils;
import Common.Constants;
import Common.Current;
import Common.Global;
import Common.UI.UI;
import Common.Utils.Files.VDirectoryChooser;
@@ -1056,11 +1055,9 @@ public class Utils {
}
return false;
}
//временно.
public static int getTestingMaxKernels() {
if (Current.HasAccount()) {
return (Current.getAccount().isAdmin()) ? 64 : 14;
}
return 1;
return 64; // (Current.getAccount().isAdmin()) ? 64 : 14;
}
//--
public static boolean isCrushedLine(String line) {