aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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