zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] anmolnar commented on a change in pull request #784: ZOOKEEPER-974: Allow a configurable ZooKeeper server socket listen ba…
Date Thu, 24 Jan 2019 11:35:52 GMT
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

Mime
View raw message