mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
lower log verbosity when timing out cursors with $where
This commit is contained in:
parent
39d0346def
commit
c862acf33d
@ -319,7 +319,9 @@ namespace mongo {
|
||||
_real = 0;
|
||||
}
|
||||
else {
|
||||
log() << "warning: scopeCache is empty!" << endl;
|
||||
// this means that the Scope was killed from a different thread
|
||||
// for example a cursor got timed out that has a $where clause
|
||||
log(3) << "warning: scopeCache is empty!" << endl;
|
||||
delete _real;
|
||||
_real = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user