From 0fceb13d48517e3aac9d670e4cf04b060de466db Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Fri, 7 Apr 2023 11:50:49 +0200 Subject: [PATCH] Add more time to workers to finish executions --- src/main/java/fr/ntr/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/ntr/Main.java b/src/main/java/fr/ntr/Main.java index 666ded6..1af9f89 100644 --- a/src/main/java/fr/ntr/Main.java +++ b/src/main/java/fr/ntr/Main.java @@ -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();