|
@@ -260,7 +260,7 @@ public class CoreServiceImpl implements CoreService {
|
|
|
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
|
|
|
executorService.shutdown();
|
|
|
try {
|
|
|
- if (!executorService.awaitTermination(20, TimeUnit.MINUTES)) {
|
|
|
+ if (!executorService.awaitTermination(10, TimeUnit.MINUTES)) {
|
|
|
executorService.shutdownNow();
|
|
|
}
|
|
|
} catch (InterruptedException e) {
|