summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_fetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher.cpp')
-rw-r--r--src/mongo/db/repl/oplog_fetcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher.cpp b/src/mongo/db/repl/oplog_fetcher.cpp
index d5948177dbb..137812112c8 100644
--- a/src/mongo/db/repl/oplog_fetcher.cpp
+++ b/src/mongo/db/repl/oplog_fetcher.cpp
@@ -539,7 +539,7 @@ void OplogFetcher::_createNewCursor(bool initialFind) {
std::make_unique<DBClientCursor>(_conn.get(),
_nss,
_makeFindQuery(findTimeout),
- 0 /* nToReturn */,
+ 0 /* limit */,
0 /* nToSkip */,
nullptr /* fieldsToReturn */,
QueryOption_CursorTailable | QueryOption_AwaitData |