diff options
Diffstat (limited to 'src/mongo/db/snapshot_window_options.cpp')
-rw-r--r-- | src/mongo/db/snapshot_window_options.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/db/snapshot_window_options.cpp b/src/mongo/db/snapshot_window_options.cpp index 62f4011d08e..04814862e2c 100644 --- a/src/mongo/db/snapshot_window_options.cpp +++ b/src/mongo/db/snapshot_window_options.cpp @@ -31,24 +31,8 @@ #include "mongo/db/snapshot_window_options.h" -#include "mongo/platform/compiler.h" -#include "mongo/util/options_parser/startup_option_init.h" - namespace mongo { SnapshotWindowParams snapshotWindowParams; -/** - * After startup parameters have been initialized, set targetSnapshotHistoryWindowInSeconds to the - * value of maxTargetSnapshotHistoryWindowInSeconds, in case the max has been altered. The cache - * pressure is zero to begin with, so the user should not have to wait for the target to slowly - * adjust to max. - */ -MONGO_STARTUP_OPTIONS_POST(SetTargetSnapshotWindowSize) -(InitializerContext* context) { - snapshotWindowParams.targetSnapshotHistoryWindowInSeconds.store( - snapshotWindowParams.maxTargetSnapshotHistoryWindowInSeconds.load()); - return Status::OK(); -} - } // namespace mongo |