diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-08-03 11:32:09 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-08-03 11:32:09 -0400 |
commit | 4b882e7b94c3d92e139a02dc8d104c30deb33b67 (patch) | |
tree | 9e95d95f13c14069fca8554272f61442023800d0 | |
parent | 48d0219905699adfab7019ac951527875869a63c (diff) | |
download | mongo-4b882e7b94c3d92e139a02dc8d104c30deb33b67.tar.gz |
make chunk cleanup less impactful on FROM SERVER-3524
-rw-r--r-- | db/dbhelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |