From ff437b1206824a87c1de051219dd5d054eb309d1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 7 Mar 2020 16:16:46 +0300 Subject: Use autoconfigured Executor --- .../java/com/juick/server/configuration/BaseWebConfiguration.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main/java/com/juick/server/configuration') diff --git a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index 92812ba1..f8357b42 100644 --- a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -46,10 +46,6 @@ public class BaseWebConfiguration implements WebMvcConfigurer { return new ResourceUrlEncodingFilter(); } - @Bean - public Executor taskExecutor() { - return new ThreadPoolTaskExecutor(); - } @Bean public KeystoreManager keystoreManager() { return new KeystoreManager(keystore, keystorePassword); -- cgit v1.2.3