diff options
author | Eric Milkie <milkie@10gen.com> | 2015-09-03 15:19:17 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2015-09-03 16:02:08 -0400 |
commit | 2330fcb66e777d9204351d81fff06798025277d5 (patch) | |
tree | abd13507d2e2e62ed10fed55abe6e5a995fc60ed /src/mongo/db/repl/replica_set_config.cpp | |
parent | a65cf7d29dc12995b90c9235dcedcceecc42699f (diff) | |
download | mongo-2330fcb66e777d9204351d81fff06798025277d5.tar.gz |
SERVER-18265 set proper timeout for find/getmore repl commands
This reverts commit cb0630daae67c853a76bb82a25f55c9fef54682d.
Diffstat (limited to 'src/mongo/db/repl/replica_set_config.cpp')
-rw-r--r-- | src/mongo/db/repl/replica_set_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replica_set_config.cpp b/src/mongo/db/repl/replica_set_config.cpp index 8c568a8fb52..ff881dce42b 100644 --- a/src/mongo/db/repl/replica_set_config.cpp +++ b/src/mongo/db/repl/replica_set_config.cpp @@ -51,7 +51,7 @@ const std::string ReplicaSetConfig::kVersionFieldName = "version"; const std::string ReplicaSetConfig::kMajorityWriteConcernModeName = "$majority"; const Milliseconds ReplicaSetConfig::kDefaultHeartbeatInterval(2000); const Seconds ReplicaSetConfig::kDefaultHeartbeatTimeoutPeriod(10); -const Milliseconds ReplicaSetConfig::kDefaultElectionTimeoutPeriod(2000); +const Milliseconds ReplicaSetConfig::kDefaultElectionTimeoutPeriod(10000); namespace { |