设置hystrix的熔断时间

hystrix的熔断时间默认为1秒,这对于一个要部署的服务器来说太短了,所以可以把这个时间设置大一点

这个时间设置在yml中没有提示,下面是设置的代码:

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 5000 # 设置hystrix的超时时间为5000ms
原文地址:https://www.cnblogs.com/rao11/p/11818685.html