lorinlee commented on issue #1406: URL: https://github.com/apache/incubator-brpc/issues/1406#issuecomment-865499892
Hi @joway, another thing I have missed is the meaning of error code. You can see this [doc](https://github.com/apache/incubator-brpc/blob/master/docs/en/client.md), the `Settings` section. `ETIMEDOUT` is connection timeout but not rpc timeout, so it can be retried. `ERPCTIMEDOUT` means rpc timeout, which cannot be retried for the reason you said, and the DefaultRetryPolicy also not retry, so users needn't care about the default behavior. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org