yinqiwen commented on issue #1271: URL: https://github.com/apache/incubator-brpc/issues/1271#issuecomment-713333780
> > > > connect timeout未设置 rpc timeout 50ms gydong [[email protected]](mailto:[email protected]) 于 2020年10月21日周三 下午12:42写道: > > > > […](#) > > > > ChannelOptions.timeout_ms 和 ChannelOptions.connect_timeout_ms 这两个选项的值分别设置了多少? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <[#1271 (comment)](https://github.com/apache/incubator-brpc/issues/1271#issuecomment-713298991)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABWMTZP47Z4W4IQZEMHIWLSLZRDFANCNFSM4SYJS7IQ . > > > > > > > > > ChannelOptions.connect_timeout_ms 设置成30ms,看看是否还能复现你之前的问题 > > > > > > 是代码里和这个有关? 另外有个服务设置了connect_timeout_ms = 500 也有同样的现象 > > 我记得之前有个问题是如果connect timeout设置的比timeout大,则会导致一直触发rpc timeout而走不到连接超时的控制逻辑。我在应用过程中,之所以没遇到这个问题,是因为我们开启了熔断,规避了这个问题。 所以开启enable_circuit_breaker也能解决? 我们回头都试下 ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
