andreachild commented on code in PR #2749:
URL: https://github.com/apache/tinkerpop/pull/2749#discussion_r1738988469


##########
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java:
##########
@@ -328,10 +328,10 @@ public int getMaxWaitForClose() {
     }
 
     /**
-     * Gets the maximum size in bytes of any request sent to the server.
+     * Gets the maximum size in bytes of any request received from the server.
      */
-    public int getMaxContentLength() {
-        return manager.connectionPoolSettings.maxContentLength;
+    public double getMaxResponseContentLength() {

Review Comment:
   Hello @vkagamlyk thanks for taking a look at my PR!
   It was suggested by @kenhuuu that using double would provide more 
flexibility to users that need a maximum that is larger than the Long.MAX_VALUE.



-- 
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]

Reply via email to