feign:
hystrix:
#feign中开启熔断
enabled: true
hystrix:
command:
#配置服务降级全局超时时间
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 18000
timeout:
enabled: true #开启hystrix,为false将超时控制交给ribbon
ribbon:
openfeign+hystrix+ribbon的配置
最新推荐文章于 2024-05-31 11:24:25 发布