Github user eolivelli commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/119#discussion_r204628957
--- Diff: src/java/main/org/apache/zookeeper/client/ZKClientConfig.java ---
@@ -56,9 +56,15 @@
@SuppressWarnings("deprecation")
public static final String SECURE_CLIENT = ZooKeeper.SECURE_CLIENT;
public static final int CLIENT_MAX_PACKET_LENGTH_DEFAULT = 4096 *
1024; /* 4 MB */
+ public static final String ZOOKEEPER_REQUEST_TIMEOUT =
"zookeeper.request.timeout";
+ /**
+ * Feature is disabled by default.
--- End diff --
What about enabling it by default with a default computed from desired
session expire timeout?
---