summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_options.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-12-18 10:03:13 -0500
committerEric Milkie <milkie@10gen.com>2014-12-18 10:10:34 -0500
commit723f3081a517ddfc3794c6ee4e8edd5946c86044 (patch)
tree1142270a768b8697bb30ed5f3bcd5ea36fc218e2 /src/mongo/db/mongod_options.cpp
parentbfaa98729f41d02a0aafe1efc44b2074e3d7ba14 (diff)
downloadmongo-723f3081a517ddfc3794c6ee4e8edd5946c86044.tar.gz
SERVER-16313 make override of checkpointDelaySecs with syncdelay work properly
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r--src/mongo/db/mongod_options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp
index a2f51409547..a779db2ac57 100644
--- a/src/mongo/db/mongod_options.cpp
+++ b/src/mongo/db/mongod_options.cpp
@@ -226,6 +226,8 @@ namespace mongo {
moe::Double,
"seconds between disk syncs (0=never, but not recommended)",
"storage.syncPeriodSecs")
+ // Note: this default is used by checkpointDelaySecs in WiredTiger options.
+ // Be careful changing this value.
.setDefault(moe::Value(60.0));
// Upgrade and repair are disallowed in JSON configs since they trigger very heavyweight