The requested URL was not found on this server. 不管你信不信,反正我是没找到

restclient请求超时后,不断retry,尝试链接停掉的节点,如何限制retry次数?

Elasticsearch | 作者 陈水鱼 | 发布于2018年12月11日 | 阅读数:2937

es集群有一个节点挂了,用restclient链接,restclient不断retry挂掉的节点才去链接其他节点,影响效率,有方法限制retry次数吗?
已邀请:

rochy - rochy_he

赞同来自: 陈水鱼

貌似没有办法限制重试次数
不断 retry 并不浪费效率,无需关闭

要回复问题请先登录注册