Add more time to workers to finish executions
This commit is contained in:
parent
825f4f26c7
commit
0fceb13d48
@ -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();
|
||||
|
Reference in New Issue
Block a user