diff options
author | Eric Milkie <milkie@10gen.com> | 2014-12-18 10:03:13 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-12-18 10:10:34 -0500 |
commit | 723f3081a517ddfc3794c6ee4e8edd5946c86044 (patch) | |
tree | 1142270a768b8697bb30ed5f3bcd5ea36fc218e2 /src/mongo/db/mongod_options.cpp | |
parent | bfaa98729f41d02a0aafe1efc44b2074e3d7ba14 (diff) | |
download | mongo-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.cpp | 2 |
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 |