adaptive sleep for ClientCusror::yield SERVER-975

This commit is contained in:
Eliot Horowitz
2010-04-06 13:49:51 -04:00
parent 0c9d1b4284
commit 009e2e4e0a
4 changed files with 24 additions and 0 deletions

View File

@@ -233,6 +233,7 @@ namespace mongo {
{
dbtempreleasecond unlock;
sleepmicros( Client::recommendedYieldMicros() );
}
if ( ClientCursor::find( id , false ) == 0 ){