aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-03-07 16:02:06 +0300
committerGravatar Vitaly Takmazov2020-03-07 16:02:06 +0300
commit8d6139b07c52f19e6038e11507fdea3f9dd6b911 (patch)
treee8901ad2890c933ab381c167a517492c250c6d10 /src/main/java/com/juick/server/configuration
parentafb897034311fe7e0e981ec44100d3b3fd3ef39d (diff)
Fix TaskExecutor bean name
Diffstat (limited to 'src/main/java/com/juick/server/configuration')
-rw-r--r--src/main/java/com/juick/server/configuration/BaseWebConfiguration.java4
1 files changed, 2 insertions, 2 deletions
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