diff options
author | Vitaly Takmazov | 2020-03-07 16:02:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-03-07 16:02:06 +0300 |
commit | 8d6139b07c52f19e6038e11507fdea3f9dd6b911 (patch) | |
tree | e8901ad2890c933ab381c167a517492c250c6d10 /src | |
parent | afb897034311fe7e0e981ec44100d3b3fd3ef39d (diff) |
Fix TaskExecutor bean name
Diffstat (limited to 'src')
-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 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 |