summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-10-21 10:56:31 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-10-21 11:20:23 -0400
commitdccc3783225ed670bf838ea61f02f3641685afd5 (patch)
treec6272bdd55d48afc2769e8fd8840cbcfbd6d6ba1
parent3604c4f47cc7e433e780041388e65802729b06bb (diff)
downloadmongo-dccc3783225ed670bf838ea61f02f3641685afd5.tar.gz
SERVER-15733 reinstate yea delay of 30 seconds in the LegacyReplicationCoordinator
-rw-r--r--src/mongo/db/repl/consensus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/consensus.cpp b/src/mongo/db/repl/consensus.cpp
index f586571b7cf..cf027152610 100644
--- a/src/mongo/db/repl/consensus.cpp
+++ b/src/mongo/db/repl/consensus.cpp
@@ -218,7 +218,7 @@ namespace repl {
return !( vUp * 2 > _totalVotes() );
}
- const time_t LeaseTime = 3;
+ const time_t LeaseTime = 30;
SimpleMutex Consensus::lyMutex("ly");