From fe95e2c9a98d51c7b176d72754cc36270a471df6 Mon Sep 17 00:00:00 2001 From: Youngwan Lim Date: Thu, 31 Jul 2014 16:47:47 +0900 Subject: [PATCH] fixed not to try to reconnect when session and connection timeout. --- .../src/main/java/org/apache/curator/ConnectionState.java | 1 - 1 file changed, 1 deletion(-) diff --git a/curator-client/src/main/java/org/apache/curator/ConnectionState.java b/curator-client/src/main/java/org/apache/curator/ConnectionState.java index 756626f0e0..9d115eb5f5 100644 --- a/curator-client/src/main/java/org/apache/curator/ConnectionState.java +++ b/curator-client/src/main/java/org/apache/curator/ConnectionState.java @@ -191,7 +191,6 @@ private synchronized void checkTimeouts() throws Exception { log.warn(String.format("Connection attempt unsuccessful after %d (greater than max timeout of %d). Resetting connection and trying again with a new connection.", elapsed, maxTimeout)); } - reset(); } else {