Skip to content

Commit

Permalink
call getLastError after each bench thread run so we know they're no l…
Browse files Browse the repository at this point in the history
…onger active
  • Loading branch information
erh committed Oct 17, 2011
1 parent b456343 commit 4b26a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ namespace mongo {
catch( ... ){
error() << "Exception not handled in benchRun thread." << endl;
}

conn->getLastError();
config->threadsActive--;
conn.done();

Expand Down

0 comments on commit 4b26a9b

Please sign in to comment.