diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-09-13 11:58:43 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-09-13 11:58:43 -0400 |
commit | 5dbccb4a861aa2db993dd673097a1300bcdc9cca (patch) | |
tree | e13077ba423a9f5043c6e033a90de731b891e705 /src/mongo/s/client/shard_remote.cpp | |
parent | 76da39708f4d07ed0cf56d986d1c6f3d4353e670 (diff) | |
download | mongo-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.cpp | 3 |
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; |