chenBright commented on code in PR #1814:
URL: https://github.com/apache/incubator-brpc/pull/1814#discussion_r924034863
##########
src/brpc/selective_channel.cpp:
##########
@@ -189,6 +189,7 @@ int ChannelBalancer::AddChannel(ChannelBase* sub_channel,
SocketOptions options;
options.user = sub_chan;
options.health_check_interval_s = FLAGS_channel_check_interval;
+ options.is_in_socket_map = true;
Review Comment:
已经修改为在socket_map Insert或Remove成功的地方改socket的状态
--
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]