zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.
Date Tue, 30 May 2017 23:02:06 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/master ce0aa2bac -> e358a808d


ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.

Author: Abraham Fine <afine@apache.org>

Reviewers: Michael Han <hanm@apache.org>

Closes #266 from afine/ZOOKEEPER-2788


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/e358a808
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/e358a808
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/e358a808

Branch: refs/heads/master
Commit: e358a808d172c31e114eee1cc2957fe92d0d142e
Parents: ce0aa2b
Author: Abraham Fine <afine@apache.org>
Authored: Tue May 30 16:01:59 2017 -0700
Committer: Michael Han <hanm@apache.org>
Committed: Tue May 30 16:01:59 2017 -0700

----------------------------------------------------------------------
 .../org/apache/zookeeper/server/quorum/QuorumCnxManager.java    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/e358a808/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
----------------------------------------------------------------------
diff --git a/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java b/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
index 57cf8d9..5f94108 100644
--- a/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
+++ b/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java
@@ -74,11 +74,6 @@ public class QuorumCnxManager {
     static final int SEND_CAPACITY = 1;
 
     static final int PACKETMAXSIZE = 1024 * 512;
-    /*
-     * Maximum number of attempts to connect to a peer
-     */
-
-    static final int MAX_CONNECTION_ATTEMPTS = 2;
     
     /*
      * Negative counter for observer server ids.


Mime
View raw message