summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_options.h')
-rw-r--r--src/mongo/db/storage/storage_options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/storage/storage_options.h b/src/mongo/db/storage/storage_options.h
index f6284a06244..e7fe5331f96 100644
--- a/src/mongo/db/storage/storage_options.h
+++ b/src/mongo/db/storage/storage_options.h
@@ -123,6 +123,10 @@ struct StorageGlobalParams {
// settings with which lock-free reads are incompatible: standalone mode; and
// enableMajorityReadConcern=false.
bool disableLockFreeReads;
+
+ // Delay in seconds between triggering the next checkpoint after the completion of the previous
+ // one. A value of 0 indicates that checkpointing will be skipped.
+ size_t checkpointDelaySecs;
};
extern StorageGlobalParams storageGlobalParams;