diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-05-23 05:23:13 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-05-27 05:32:04 -0400 |
commit | c27f26b7b49714649800a7d602fead7d57ca3805 (patch) | |
tree | a48e21c9a493ad4536503f97cf9e78cc950dea28 /src/mongo/db | |
parent | 0431673ee0d814d84fe6e42d7c99b94fd24206f9 (diff) | |
download | mongo-c27f26b7b49714649800a7d602fead7d57ca3805.tar.gz |
SERVER-14042 decrease yea delay from 30 seconds to 3
Diffstat (limited to 'src/mongo/db')
-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 d6c5ae1883d..77bde0bcd68 100644 --- a/src/mongo/db/repl/consensus.cpp +++ b/src/mongo/db/repl/consensus.cpp @@ -248,7 +248,7 @@ namespace replset { return !( vUp * 2 > _totalVotes() ); } - const time_t LeaseTime = 30; + const time_t LeaseTime = 3; SimpleMutex Consensus::lyMutex("ly"); |