From f1011157cf0830cd6b5375fb3a84192ffe0fb7af Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 2 Mar 2020 10:52:33 +0300 Subject: Revert "Fix TaskExecutor configuration" This reverts commit 5c25da83e3f15d0b61dff91af0b0fc9233e87ee6. --- src/main/java/com/juick/server/configuration/BaseWebConfiguration.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main') 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); } -- cgit v1.2.3