diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-10-21 10:56:31 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-10-21 11:20:23 -0400 |
commit | dccc3783225ed670bf838ea61f02f3641685afd5 (patch) | |
tree | c6272bdd55d48afc2769e8fd8840cbcfbd6d6ba1 | |
parent | 3604c4f47cc7e433e780041388e65802729b06bb (diff) | |
download | mongo-dccc3783225ed670bf838ea61f02f3641685afd5.tar.gz |
SERVER-15733 reinstate yea delay of 30 seconds in the LegacyReplicationCoordinator
-rw-r--r-- | src/mongo/db/repl/consensus.cpp | 2 |
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"); |