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

相關文章
相關標籤/搜索