summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2016-02-03 15:11:37 -0500
committerScott Hernandez <scotthernandez@gmail.com>2016-02-03 16:37:36 -0500
commit94fc167ce1196957f2fcbd17cae27bc78244a30b (patch)
tree93c58c410fbcf7133bc20ccd9fd900e7a995d57b
parentec81d5946837e6ad0c3818837f88a1f3f056248b (diff)
downloadmongo-r3.2.2-rc0.tar.gz
SERVER-22456: use 1min oplog find query timeoutr3.2.2-rc0
(cherry picked from commit d2a10dddb97cb8fa7b208661e1875d30fe796bba)
-rw-r--r--src/mongo/db/repl/bgsync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp
index 25c39e8c640..13859b4deea 100644
--- a/src/mongo/db/repl/bgsync.cpp
+++ b/src/mongo/db/repl/bgsync.cpp
@@ -338,7 +338,7 @@ void BackgroundSync::_produce(OperationContext* txn) {
cmdBob.append("tailable", true);
cmdBob.append("oplogReplay", true);
cmdBob.append("awaitData", true);
- cmdBob.append("maxTimeMS", durationCount<Milliseconds>(fetcherMaxTimeMS));
+ cmdBob.append("maxTimeMS", durationCount<Milliseconds>(Minutes(1))); // 1 min initial find.
BSONObjBuilder metadataBob;
if (isV1ElectionProtocol) {