The Hystrix timeout of XXms for the command XX-XX is set lower than the combination of the

The Hystrix timeout of XXms for the command XX-XX is set lower than the combination of the Ribbon read and connect timeoutio

 

缘由:command

(ribbon.ConnectTimeout + ribbon.ReadTimeout) * (ribbon.MaxAutoRetries + 1) * (ribbon.MaxAutoRetriesNextServer + 1)im

 

告警意识是  你的hytrix的超时时间比 Ribbon的 connect时间+read timeout的时间还长。会失去意义。时间

 

能够修改以下:co

  ribbon.MaxAutoRetries: 0  #不重试
  ribbon.MaxAutoRetriesNextServer: 0 #不尝试下一台机器time

相关文章
相关标签/搜索