From 7920152c404d8399f013123ed9c98b6c5612a095 Mon Sep 17 00:00:00 2001 From: szymon Date: Fri, 7 Aug 2020 22:29:21 +0200 Subject: [PATCH] this should make waiting more responsive --- .../textile_backup/core/restore/RestoreBackupRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java b/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java index c1e880d..2156e10 100644 --- a/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java +++ b/src/main/java/net/szum123321/textile_backup/core/restore/RestoreBackupRunnable.java @@ -100,7 +100,7 @@ public class RestoreBackupRunnable implements Runnable { private void awaitServerShutdown() { while(((LivingServer)server).isAlive()) { try { - Thread.sleep(1000); + Thread.sleep(100); } catch (InterruptedException e) { Statics.LOGGER.error("Exception occurred!", e); }