The Hystrix timeout of XXms for the command XX
- 前端
- Easter79
- 0
The Hystrix timeout of XXms for the command XX-XX is set lower than the combination of the Ribbon read and connect timeout
原因:
(ribbon.ConnectTimeout + ribbon.ReadTimeout) * (ribbon.MaxAutoRetries + 1) * (ribbon.MaxAutoRetriesNextServer + 1)
告警意识是 你的hytrix的超时时间比 Ribbon的 connect时间+read timeout的时间还长。会失去意义。
可以修改如下:
ribbon.MaxAutoRetries: 0 #不重试
ribbon.MaxAutoRetriesNextServer: 0 #不尝试下一台机器
免责申明:本站发布的内容(图片、视频和文字)以转载和分享为主,文章观点不代表本站立场,如涉及侵权请联系站长邮箱:xbc-online@qq.com进行反馈,一经查实,将立刻删除涉嫌侵权内容。