summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard_remote.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2017-09-13 11:58:43 -0400
committerJudah Schvimer <judah@mongodb.com>2017-09-13 11:58:43 -0400
commit5dbccb4a861aa2db993dd673097a1300bcdc9cca (patch)
treee13077ba423a9f5043c6e033a90de731b891e705 /src/mongo/s/client/shard_remote.cpp
parent76da39708f4d07ed0cf56d986d1c6f3d4353e670 (diff)
downloadmongo-5dbccb4a861aa2db993dd673097a1300bcdc9cca.tar.gz
SERVER-19605 make oplog timeout configurable
Diffstat (limited to 'src/mongo/s/client/shard_remote.cpp')
-rw-r--r--src/mongo/s/client/shard_remote.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/client/shard_remote.cpp b/src/mongo/s/client/shard_remote.cpp
index 1bc9b6e5c97..8657f88651b 100644
--- a/src/mongo/s/client/shard_remote.cpp
+++ b/src/mongo/s/client/shard_remote.cpp
@@ -323,7 +323,8 @@ StatusWith<Shard::QueryResponse> ShardRemote::_exhaustiveFindOnConfig(
findCmdBuilder.done(),
fetcherCallback,
_appendMetadataForCommand(opCtx, readPrefWithMinOpTime),
- maxTimeMS);
+ maxTimeMS /* find network timeout */,
+ maxTimeMS /* getMore network timeout */);
Status scheduleStatus = fetcher.schedule();
if (!scheduleStatus.isOK()) {
return scheduleStatus;