Do not spin the watchdog thread while server is booting
This commit is contained in:
parent
7348737878
commit
bc7aa5539c
|
|
@ -38,6 +38,9 @@ public class IntegratedWatchdog extends Thread {
|
|||
return;
|
||||
}
|
||||
if(lastTickStart.getAsLong() < 0) {
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
} catch(InterruptedException ignored) {}
|
||||
continue;
|
||||
}
|
||||
long curTime = Util.getMillis();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user