finish webConfig modification verify

pull/776/head
yewei 3 years ago
parent 9744afbeb6
commit d081f77287

@ -57,9 +57,6 @@ public interface ThreadPoolParameter {
*/
Integer getMaxSize();
Integer getCorePoolSize();
Integer getMaximumPoolSize();
/**
* Get queue type
*

@ -32,7 +32,6 @@ import static cn.hippo4j.common.constant.Constants.AVAILABLE_PROCESSORS;
* Common config.
*/
@Configuration
@Import(WebThreadPoolHandlerChoose.class)
public class CommonConfig {
@Bean
@ -54,4 +53,9 @@ public class CommonConfig {
return monitorThreadPool;
}
@Bean
public WebThreadPoolHandlerChoose webThreadPoolHandlerChoose() {
return new WebThreadPoolHandlerChoose();
}
}

@ -49,6 +49,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import static cn.hippo4j.common.constant.Constants.HTTP_EXECUTE_TIMEOUT;

Loading…
Cancel
Save