Tweak thresholds for can't keep up message
Dieser Commit ist enthalten in:
Ursprung
91ada5c2bc
Commit
585b2ebdd5
@ -460,8 +460,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
MinecraftServer.LOGGER.info("Saving worlds");
|
MinecraftServer.LOGGER.info("Saving worlds");
|
||||||
@@ -548,11 +748,13 @@
|
@@ -545,14 +745,16 @@
|
||||||
if (i > 2000L && this.nextTick - this.lastOverloadTime >= 15000L) {
|
while (this.isRunning) {
|
||||||
|
long i = SystemUtils.getMonotonicMillis() - this.nextTick;
|
||||||
|
|
||||||
|
- if (i > 2000L && this.nextTick - this.lastOverloadTime >= 15000L) {
|
||||||
|
+ if (i > 5000L && this.nextTick - this.lastOverloadTime >= 30000L) { // CraftBukkit
|
||||||
long j = i / 50L;
|
long j = i / 50L;
|
||||||
|
|
||||||
+ if (server.getWarnOnOverload()) // CraftBukkit
|
+ if (server.getWarnOnOverload()) // CraftBukkit
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren