SteamWar/BungeeCore
Archiviert
13
2

Fix CPU usage threshold #218

Manuell gemergt
Lixfel hat 1 Commits von FixCPUUsage nach master 2021-06-25 07:17:25 +02:00 zusammengeführt

Datei anzeigen

@ -285,11 +285,11 @@ public class SubserverSystem {
}
private static boolean steamwarStartAvailable(){
return LoadEvaluation.getCPULoad() < 0.8 && LoadEvaluation.getRamPercentage() < 0.8;
return LoadEvaluation.getCPULoad() < 0.7 && LoadEvaluation.getRamPercentage() < 0.8;
}
private static boolean remoteStartAvailable(String remote) {
return LoadEvaluation.getRemoteCPULoad(remote) < 0.8 && LoadEvaluation.getRemoteRamPercentage(remote) < 0.8;
return LoadEvaluation.getRemoteCPULoad(remote) < 0.7 && LoadEvaluation.getRemoteRamPercentage(remote) < 0.8;
}
private static boolean bauRunning(ProxiedPlayer p, UUID owner){