You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/09/22 06:40:48 UTC
[GitHub] [incubator-brpc] TousakaRin commented on issue #1930: 默认熔断策略中的connect_timeout_ms
TousakaRin commented on issue #1930:
URL: https://github.com/apache/incubator-brpc/issues/1930#issuecomment-1254595392
如果出现连续三次连接超时,brpc会把[连接超时作为网络不可达来处理](https://github.com/apache/incubator-brpc/blob/3e054ab3a521ed66eb19ff1dd124f6303cfad537/src/brpc/socket.cpp#L1358),进一步的对这个socket进行熔断。timeout 设置得过小时总是会先出发 rpc timeout,导致上面这段逻辑触发不了。
--
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.
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org