diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/server/configuration/BaseWebConfiguration.java | 4 |
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 2e3ec33d4..92812ba13 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 |