From 4b882e7b94c3d92e139a02dc8d104c30deb33b67 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Wed, 3 Aug 2011 11:32:09 -0400 Subject: make chunk cleanup less impactful on FROM SERVER-3524 --- db/dbhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/dbhelpers.cpp b/db/dbhelpers.cpp index 3079aade5e8..5e49589e2bb 100644 --- a/db/dbhelpers.cpp +++ b/db/dbhelpers.cpp @@ -269,7 +269,7 @@ namespace mongo { getDur().commitIfNeeded(); - if ( yield && ! cc->yieldSometimes() ) { + if ( yield && ! cc->yield() ) { // cursor got finished by someone else, so we're done cc.release(); // if the collection/db is dropped, cc may be deleted break; -- cgit v1.2.1