Skip to content
Permalink
Browse files

Immediately shutdown executor service

  • Loading branch information
KevinCaseiras committed Mar 25, 2020
1 parent 3b89a10 commit bba4ea1bdf501937d19a1965dcae7fdeb92e574d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/gov/nysenate/openleg/config/ApplicationConfig.java
@@ -177,6 +177,7 @@ public ThreadPoolTaskExecutor getAsyncExecutor() {
executor.setCorePoolSize(8);
executor.setMaxPoolSize(12);
executor.setQueueCapacity(100);
executor.setWaitForTasksToCompleteOnShutdown(false);
executor.initialize();
return executor;
}

0 comments on commit bba4ea1

Please sign in to comment.
You can’t perform that action at this time.