From f1634c1891b8fc43052ce37a08880687e0a26a93 Mon Sep 17 00:00:00 2001 From: Park JunHyun Date: Tue, 6 Jan 2015 17:10:06 +0900 Subject: [PATCH] Increase ZK_CONNECT_TIMEOUT: 2000 => 5000 ms. --- src/main/java/net/spy/memcached/CacheManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/spy/memcached/CacheManager.java b/src/main/java/net/spy/memcached/CacheManager.java index 11b9cd2f..f4402da4 100644 --- a/src/main/java/net/spy/memcached/CacheManager.java +++ b/src/main/java/net/spy/memcached/CacheManager.java @@ -52,7 +52,7 @@ public class CacheManager extends SpyThread implements Watcher, private static final int SESSION_TIMEOUT = 15000; - private static final long ZK_CONNECT_TIMEOUT = 2000L; + private static final long ZK_CONNECT_TIMEOUT = 5000L; private final String hostPort;