call getLastError after each bench thread run so we know they're no longer active
This commit is contained in:
@@ -400,7 +400,7 @@ namespace mongo {
|
||||
catch( ... ){
|
||||
error() << "Exception not handled in benchRun thread." << endl;
|
||||
}
|
||||
|
||||
conn->getLastError();
|
||||
config->threadsActive--;
|
||||
conn.done();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user