this should make waiting more responsive
parent
c8b53a4ce2
commit
7920152c40
|
@ -100,7 +100,7 @@ public class RestoreBackupRunnable implements Runnable {
|
||||||
private void awaitServerShutdown() {
|
private void awaitServerShutdown() {
|
||||||
while(((LivingServer)server).isAlive()) {
|
while(((LivingServer)server).isAlive()) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(100);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Statics.LOGGER.error("Exception occurred!", e);
|
Statics.LOGGER.error("Exception occurred!", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue