summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-18 10:24:10 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-18 10:24:10 -0400
commitc862acf33d1a12e8fb676dbc88ef4c8b9e773962 (patch)
tree5ef136378c5076fc4d3602e66c5a1621c74ed9e2 /scripting
parent39d0346def0c77ad56dd651baa6293475ae21be2 (diff)
downloadmongo-c862acf33d1a12e8fb676dbc88ef4c8b9e773962.tar.gz
lower log verbosity when timing out cursors with $where
Diffstat (limited to 'scripting')
-rw-r--r--scripting/engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripting/engine.cpp b/scripting/engine.cpp
index 904e4ced1c6..a776428a59d 100644
--- a/scripting/engine.cpp
+++ b/scripting/engine.cpp
@@ -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;
}