aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-03-07 16:16:46 +0300
committerGravatar Vitaly Takmazov2020-03-07 16:16:46 +0300
commitff437b1206824a87c1de051219dd5d054eb309d1 (patch)
treec00d5e5e2ef27f31d71d96e0f212e7a4d0f2c304 /src/main/java/com/juick/server/configuration
parent8d6139b07c52f19e6038e11507fdea3f9dd6b911 (diff)
Use autoconfigured Executor
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, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
index 92812ba13..f8357b420 100644
--- a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
+++ b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
@@ -47,10 +47,6 @@ public class BaseWebConfiguration implements WebMvcConfigurer {
}
@Bean
- public Executor taskExecutor() {
- return new ThreadPoolTaskExecutor();
- }
- @Bean
public KeystoreManager keystoreManager() {
return new KeystoreManager(keystore, keystorePassword);
}