diff options
Diffstat (limited to 'src/main')
-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); } |