wenbingshen commented on code in PR #3951:
URL: https://github.com/apache/bookkeeper/pull/3951#discussion_r1189299218


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ClientConfiguration.java:
##########
@@ -2058,6 +2060,32 @@ public long 
getClientConnectBookieUnavailableLogThrottlingMs() {
         return getLong(CLIENT_CONNECT_BOOKIE_UNAVAILABLE_LOG_THROTTLING, 
5_000L);
     }
 
+    /**
+     * Set the client max idle connections time for no any read-write 
operations happened, in minutes.
+     * After this time, the connection will be closed.
+     *
+     * @param maxIdleConnectionsMinutes
+     *        Default is -1 (disabled)
+     * @param unit
+     * @return client configuration.
+     */
+    public ClientConfiguration setClientMaxIdleConnectionsMinutes(

Review Comment:
   seconds should be more generic, I'll address it.



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