amogh-jahagirdar commented on code in PR #9195:
URL: https://github.com/apache/iceberg/pull/9195#discussion_r1412727587
##########
core/src/main/java/org/apache/iceberg/rest/HTTPClient.java:
##########
@@ -72,6 +74,10 @@ public class HTTPClient implements RESTClient {
static final String CLIENT_GIT_COMMIT_SHORT_HEADER =
"X-Client-Git-Commit-Short";
private static final String REST_MAX_RETRIES = "rest.client.max-retries";
+ private static final String REST_MAX_CONNECTIONS =
"rest.client.max-connections";
+ private static final int REST_MAX_CONNECTIONS_DEFAULT = 100;
+ private static final String REST_MAX_CONNECTIONS_PER_ROUTE =
"rest.client.connections-per-route";
+ private static final int REST_MAX_CONNECTIONS_PER_ROUTE_DEFAULT = 100;
Review Comment:
Nit: I guess you could just assign REST_MAX_CONNECTIONS_PER_ROUTE_DEFAULT to
REST_MAX_CONNECTIONS_DEFAULT since the default will probably always be 1:1 with
the per route default/ but no big deal since I don't expect the defaults to
change anyways
--
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]