You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/01/24 11:35:52 UTC

[GitHub] anmolnar commented on a change in pull request #784: ZOOKEEPER-974: Allow a configurable ZooKeeper server socket listen ba…

anmolnar commented on a change in pull request #784: ZOOKEEPER-974: Allow a configurable ZooKeeper server socket listen ba…
URL: https://github.com/apache/zookeeper/pull/784#discussion_r250568076
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
 ##########
 @@ -997,6 +1006,15 @@ public void setMaxSessionTimeout(int max) {
         LOG.info("maxSessionTimeout set to {}", this.maxSessionTimeout);
     }
 
+    public int getClientPortListenBacklog() {
+        return listenBacklog;
+    }
+
+    public void setClientPortListenBacklog(int backlog) {
+        LOG.info("clientPortListenBacklog set to " + backlog);
 
 Review comment:
   nit: I would do the action first, than the log the fact it happened.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services