hystrix -hystrix常用配置介绍

配置官网介绍地址:https://github.com/Netflix/Hystrix/wiki/Configuration

hystrix.command.default.execution.isolation.strategy

hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds  默认超时时间为1S

是否开启hystrix的超时时间,默认是true ;

当hystrix超时时是否中断。默认是true

当设置为Semaphore时,允许的最大请求数。默认值 10

设置当固定时间内(默认是10s)达到失败的次数(默认失败次数是20次)打开断路器。

原文地址:https://www.cnblogs.com/wenq001/p/9173546.html