diff options
author | Vitaly Takmazov | 2020-03-02 10:52:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-03-02 10:52:33 +0300 |
commit | f1011157cf0830cd6b5375fb3a84192ffe0fb7af (patch) | |
tree | ef1691aa8fb848dcbb01005b0bec7ef02d1040d1 /src/main/java/com/juick/server/configuration | |
parent | 89892796e466de9a8a14d62d5c7a44dd2fc103d2 (diff) |
Revert "Fix TaskExecutor configuration"
This reverts commit 5c25da83e3f15d0b61dff91af0b0fc9233e87ee6.
Diffstat (limited to 'src/main/java/com/juick/server/configuration')
-rw-r--r-- | src/main/java/com/juick/server/configuration/BaseWebConfiguration.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index 5a3b06ff..887f15c9 100644 --- a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -60,7 +60,6 @@ public class BaseWebConfiguration implements WebMvcConfigurer, SchedulingConfigu public void configureTasks(@Nonnull ScheduledTaskRegistrar taskRegistrar) { taskRegistrar.setScheduler(taskExecutor()); } - @Bean public Executor taskExecutor() { return Executors.newScheduledThreadPool(100); } |