0
0
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:
Eliot Horowitz 2010-08-18 10:24:10 -04:00
parent 39d0346def
commit c862acf33d

View File

@ -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;
}