Fix CPU usage threshold
Dieser Commit ist enthalten in:
Ursprung
a8323d39dd
Commit
70359e1c9e
@ -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){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren