设置hystrix的熔断时间
时间:2019-11-08 11:29:38
收藏:0
阅读:812
hystrix的熔断时间默认为1秒,这对于一个要部署的服务器来说太短了,所以可以把这个时间设置大一点
这个时间设置在yml中没有提示,下面是设置的代码:
hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 5000 # 设置hystrix的超时时间为5000ms
原文:https://www.cnblogs.com/rao11/p/11818685.html
评论(0)