summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Lucas <bdlucas1@users.noreply.github.com>2016-08-01 09:47:34 -0400
committerGitHub <noreply@github.com>2016-08-01 09:47:34 -0400
commitc7eadf68a602d5c2cb1916cb6ddfb9b531e32c42 (patch)
tree8b0e08c1649b09382af0bbe9b47276a97da2bb31
parentc469a43c816043cb3620c02ecc126d90b0da4571 (diff)
downloadmongo-c7eadf68a602d5c2cb1916cb6ddfb9b531e32c42.tar.gz
SERVER-20239 fix default value for enabled parameter
-rw-r--r--src/mongo/util/heap_profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/heap_profiler.cpp b/src/mongo/util/heap_profiler.cpp
index 65cfd272492..288bd441e08 100644
--- a/src/mongo/util/heap_profiler.cpp
+++ b/src/mongo/util/heap_profiler.cpp
@@ -656,7 +656,7 @@ public:
//
HeapProfiler* HeapProfiler::heapProfiler;
-bool HeapProfiler::enabledParameter = true;
+bool HeapProfiler::enabledParameter = false;
long long HeapProfiler::sampleIntervalBytesParameter = 256 * 1024;
ExportedServerParameter<bool, ServerParameterType::kStartupOnly> heapProfilingEnabledParameter(