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:
[email protected]
With regards,
Apache Git Services