summaryrefslogtreecommitdiff
path: root/src/mongo/scripting
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2018-01-09 16:23:28 -0500
committerJason Carey <jcarey@argv.me>2018-01-17 15:50:12 -0500
commit8ee6b3d31756d7939480f1283ec53af3bd6eb489 (patch)
treebe3d6ca28c6a08f6373fc3cd3339ab914b0d9f43 /src/mongo/scripting
parentd071ff8278abcd05d63c0367c49284645e844bcc (diff)
downloadmongo-8ee6b3d31756d7939480f1283ec53af3bd6eb489.tar.gz
SERVER-32683 JS JIT off by default
Turn off the spidermonkey jit by default.
Diffstat (limited to 'src/mongo/scripting')
-rw-r--r--src/mongo/scripting/mozjs/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/engine.cpp b/src/mongo/scripting/mozjs/engine.cpp
index da842847ec6..ab11f9a635e 100644
--- a/src/mongo/scripting/mozjs/engine.cpp
+++ b/src/mongo/scripting/mozjs/engine.cpp
@@ -48,7 +48,7 @@ namespace mongo {
namespace {
-MONGO_EXPORT_SERVER_PARAMETER(disableJavaScriptJIT, bool, false);
+MONGO_EXPORT_SERVER_PARAMETER(disableJavaScriptJIT, bool, true);
MONGO_EXPORT_SERVER_PARAMETER(javascriptProtection, bool, false);
MONGO_EXPORT_SERVER_PARAMETER(jsHeapLimitMB, int, 1100);