forked from ChomeNS/chomens-bot-java
they always exceed the timeout lol
This commit is contained in:
parent
729db37cdc
commit
39b31edeb4
1 changed files with 0 additions and 4 deletions
|
@ -196,10 +196,6 @@ public class Main {
|
|||
try {
|
||||
final boolean executorDone = executor.awaitTermination(5, TimeUnit.SECONDS);
|
||||
final boolean executorServiceDone = executorService.awaitTermination(5, TimeUnit.SECONDS);
|
||||
|
||||
if (!executorDone || !executorServiceDone) {
|
||||
System.out.println("Executors failed to shut down");
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue