Open liuyajun52 opened 6 years ago
https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_channel.h#L20-L28
你好,我在看代码的时候发现connect_timeout被注释为Not supported now,但是在 https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_client_impl.cc#L382
https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_byte_stream.h#L110-L115
中,似乎有检查了超时,所以,到底是否支持超时设置呢,单位又是毫秒还是秒呢
https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_channel.h#L20-L28
你好,我在看代码的时候发现connect_timeout被注释为Not supported now,但是在 https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_client_impl.cc#L382
https://github.com/baidu/sofa-pbrpc/blob/c2cf3522e017260201dc6ea16c68acd025d6102c/src/sofa/pbrpc/rpc_byte_stream.h#L110-L115
中,似乎有检查了超时,所以,到底是否支持超时设置呢,单位又是毫秒还是秒呢