lokidundun commented on code in PR #7765:
URL: https://github.com/apache/incubator-seata/pull/7765#discussion_r2490703268
##########
core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:
##########
@@ -155,6 +157,28 @@ public AbstractNettyRemotingClient(
clientBootstrap.setChannelHandlers(new ClientHandler(), new
ChannelEventHandler(this));
clientChannelManager = new NettyClientChannelManager(
new NettyPoolableFactory(this, clientBootstrap),
getPoolKeyFunction(), nettyClientConfig);
+
+ Configuration configuration = ConfigurationFactory.getInstance();
+ this.enableReconnect =
+ configuration.getBoolean("client.reconnect.enable",
DefaultValues.DEFAULT_ENABLE_CLIENT_RECONNECT);
+
Review Comment:
I agree that exposing this switch to users might introduce unnecessary
complexity,I will remove it,Thank you for your insightful feedback—it really
helped refine the design.
--
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]