Hystrix thread pool monitoring optimization

pull/284/head
shiming-stars-lk 2 years ago committed by shining-stars-lk
parent c1e5b4a617
commit 45fd3d846e

@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration;
* thread pool adapter extra auto configuration.
*/
@Configuration(proxyBeanMethods = false)
public class ThreadPoolAdapterExtraAutoConfiguration {
public class ThreadPoolAdapterScheduleAutoConfiguration {
@Bean
public ThreadPoolAdapterScheduler threadPoolAdapterExtra() {

@ -1 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.adapter.base.ThreadPoolAdapterExtraAutoConfiguration
org.springframework.boot.autoconfigure.EnableAutoConfiguration=cn.hippo4j.adapter.base.ThreadPoolAdapterScheduleAutoConfiguration

@ -18,7 +18,7 @@
package cn.hippo4j.springboot.starter.adapter.hystrix;
import cn.hippo4j.adapter.base.ThreadPoolAdapterScheduler;
import cn.hippo4j.adapter.base.ThreadPoolAdapterExtraAutoConfiguration;
import cn.hippo4j.adapter.base.ThreadPoolAdapterScheduleAutoConfiguration;
import cn.hippo4j.adapter.hystrix.HystrixThreadPoolAdapter;
import cn.hippo4j.common.config.ApplicationContextHolder;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
@ -33,7 +33,7 @@ import org.springframework.context.annotation.Configuration;
* @create: 2022-07-15
**/
@Configuration(proxyBeanMethods = false)
@AutoConfigureAfter(ThreadPoolAdapterExtraAutoConfiguration.class)
@AutoConfigureAfter(ThreadPoolAdapterScheduleAutoConfiguration.class)
public class HystrixAdapterAutoConfiguration {
@Bean

Loading…
Cancel
Save