jamesge edited a comment on issue #936: server端正常,但是客户端收到错误码
URL: https://github.com/apache/incubator-brpc/issues/936#issuecomment-539306279
 
 
   
这个错误的表面原因是[连续3次](https://github.com/apache/incubator-brpc/blob/fc07b7bf45c4b2aa90ae5c832f3b48a8da124640/src/brpc/socket.cpp#L93)连接超时触发熔断,client会对那个server[每隔3秒](https://github.com/apache/incubator-brpc/blob/fc07b7bf45c4b2aa90ae5c832f3b48a8da124640/src/brpc/socket_map.cpp#L35)做健康检查,直到连上或机器被移除为止。这个功能的动机是防止持续访问频繁失联的机器。"连续3次连接超时"还是比较强的限制,只要中间任何一次成功了,就会从头算起,如果觉得这个还松,可以继续调大。调到很大的数值就相当于取消了这个功能。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to