SteamWar/BungeeCore
Archiviert
13
2

Fix CPU usage threshold

Dieser Commit ist enthalten in:
yoyosource 2021-06-24 19:42:54 +02:00
Ursprung a8323d39dd
Commit 70359e1c9e

Datei anzeigen

@ -285,11 +285,11 @@ public class SubserverSystem {
} }
private static boolean steamwarStartAvailable(){ 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) { 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){ private static boolean bauRunning(ProxiedPlayer p, UUID owner){