From 8d6139b07c52f19e6038e11507fdea3f9dd6b911 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 7 Mar 2020 16:02:06 +0300 Subject: Fix TaskExecutor bean name --- .../java/com/juick/server/configuration/BaseWebConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/server') diff --git a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index 2e3ec33d..92812ba1 100644 --- a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -46,8 +46,8 @@ public class BaseWebConfiguration implements WebMvcConfigurer { return new ResourceUrlEncodingFilter(); } - @Bean(name = "threadPoolTaskExecutor") - public Executor threadPoolTaskExecutor() { + @Bean + public Executor taskExecutor() { return new ThreadPoolTaskExecutor(); } @Bean -- cgit v1.2.3