summaryrefslogtreecommitdiff
path: root/src/mongo/db/oplog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/oplog.cpp')
-rw-r--r--src/mongo/db/oplog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/oplog.cpp b/src/mongo/db/oplog.cpp
index 870601c9b4b..12f4742c256 100644
--- a/src/mongo/db/oplog.cpp
+++ b/src/mongo/db/oplog.cpp
@@ -576,7 +576,7 @@ namespace mongo {
while( !finder->done() ) {
if ( yieldCondition.intervalHasElapsed() ) {
if ( finder->prepareToYield() ) {
- ClientCursor::staticYield( -1, ns, 0 );
+ ClientCursor::staticYield( 0, ns, 0 );
finder->recoverFromYield();
}
}