mathspanda opened a new issue, #3077: URL: https://github.com/apache/brpc/issues/3077
请教一个问题,为什么建连的时候connect_abstime会是connect timeout和controller timeout的min值 https://github.com/apache/brpc/blob/master/src/brpc/controller.cpp#L1217 实际上已经为controller timeout设置了timer(https://github.com/apache/brpc/blob/master/src/brpc/controller.cpp#L1217),为什么 connect timer不能直接使用connect timeout呢 业务场景对时延比较敏感,controller timeout往往比较小(二三十ms),懒建连的时候会出现connect不成功,把socket标记Failed -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
