maoling commented on a change in pull request #1108: ZOOKEEPER-2238: Support
limiting the maximum number of connections/clients to a zookeeper server
URL: https://github.com/apache/zookeeper/pull/1108#discussion_r332433422
##########
File path:
zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
##########
@@ -40,6 +40,8 @@
public abstract class ServerCnxnFactory {
public static final String ZOOKEEPER_SERVER_CNXN_FACTORY =
"zookeeper.serverCnxnFactory";
+ private static final String ZOOKEEPER_MAX_CONNECTION =
"zookeeper.maxCnxns";
+ public static final int ZOOKEEPER_MAX_CONNECTION_DEFAULT = 0;
Review comment:
`zookeeper.maxServerCnxns` is better? Corresponding to
`maxClientCnxns`(no-binding)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services