【发布时间】:2020-01-25 10:13:40
【问题描述】:
在我们的项目中,我们使用下面的 Hystrix 配置。我对 command.default.execution.timeout.enabled 属性 感到困惑。它被设置为 false,但我们还有另一个属性指定 timeoutInMilliseconds,根据我的理解,它指定了调用者将观察到超时的时间。因此,如果执行超时首先设置为 false,那么拥有第二个属性有什么意义呢?如果我的理解不正确,请告诉我
#
# Hystrix configuration
#
hystrix:
command.default.execution.timeout.enabled: false
command.default.execution.isolation.thread.timeoutInMilliseconds: 60000
【问题讨论】:
标签: microservices hystrix circuit-breaker