youngyjd commented on code in PR #9413:
URL: https://github.com/apache/gravitino/pull/9413#discussion_r2615639298
##########
clients/client-java/src/main/java/org/apache/gravitino/client/HTTPClient.java:
##########
@@ -722,6 +722,12 @@ private static HttpClientConnectionManager
configureConnectionManager(
GravitinoClientConfiguration clientConfiguration) {
PoolingHttpClientConnectionManagerBuilder connectionManagerBuilder =
PoolingHttpClientConnectionManagerBuilder.create();
+
+ // Configure connection pool size
+
connectionManagerBuilder.setMaxConnTotal(clientConfiguration.getClientMaxConnections());
+ connectionManagerBuilder.setMaxConnPerRoute(
Review Comment:
added in
clients/client-java/src/main/java/org/apache/gravitino/client/GravitinoClientConfiguration.java.
PTAL again @yuqi1129 thanks!
--
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]