commit | 45ce008e516e566f30f2ae8f3f8b39ce8d096e9a | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Thu Aug 23 14:23:03 2018 -0700 |
committer | Jordan Halterman <jordan@opennetworking.org> | Wed Sep 05 17:34:44 2018 +0000 |
tree | b20edf78a944539990a41e7683cdb096b675ec94 | |
parent | b1f02f2e07eba6cce77fbac27aeaa2d421f6a2d7 [diff] |
Increase leadership election timeout to 2500ms Change-Id: I824fe2b56caeb344f65cfccaf54d8cf3fcafb49b (cherry picked from commit 8825b4baf4445609819086685a62064ade23ff66)
diff --git a/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/DistributedLeadershipStore.java b/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/DistributedLeadershipStore.java index c3a3977..fdecf31 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/DistributedLeadershipStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/DistributedLeadershipStore.java
@@ -87,7 +87,7 @@ @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected UpgradeService upgradeService; - private static final long DEFAULT_ELECTION_TIMEOUT_MILLIS = 250; + private static final long DEFAULT_ELECTION_TIMEOUT_MILLIS = 2500; @Property(name = "electionTimeoutMillis", longValue = DEFAULT_ELECTION_TIMEOUT_MILLIS, label = "the leader election timeout in milliseconds") private long electionTimeoutMillis = DEFAULT_ELECTION_TIMEOUT_MILLIS;