Add more time to workers to finish executions

This commit is contained in:
Quentin Legot 2023-04-07 11:50:49 +02:00
parent 825f4f26c7
commit 0fceb13d48

View File

@ -105,7 +105,7 @@ public class Main {
}
executor.shutdown();
try {
executor.awaitTermination(2, TimeUnit.MINUTES);
executor.awaitTermination(5, TimeUnit.MINUTES);
}
catch (InterruptedException e) {
e.printStackTrace();