Permalink
Browse files

unlock a little more often

  • Loading branch information...
1 parent 87f148a commit fc5ec754da83f740c8e14dcd7ce3239272b3094a @erh erh committed Mar 19, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 db/mr.cpp
View
@@ -500,6 +500,9 @@ namespace mongo {
if ( o.woSortOrder( prev , sortKey ) == 0 ){
all.push_back( o );
+ if ( pm.hits() % 1000 == 0 ){
+ dbtemprelease tl;
+ }
continue;
}

0 comments on commit fc5ec75

Please sign in to comment.