CritasWang commented on code in PR #11704:
URL: https://github.com/apache/iotdb/pull/11704#discussion_r1433703600
##########
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java:
##########
@@ -398,6 +428,22 @@ public SessionPool(
this.useSSL = useSSL;
this.trustStore = trustStore;
this.trustStorePwd = trustStorePwd;
+ initThreadPool();
+ this.availableNodes =
+ NodesSupplier.createNodeSupplier(
Review Comment:
Can we extract a method to write this createNodeSupplier, except for the
host list, which is the same
--
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]