diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index e243c813..c5a24f76 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -23,6 +23,14 @@ pub struct Config { #[serde(default)] pub data_fsync: bool, + /// Disable automatic scrubbing of the data directory + #[serde(default)] + pub disable_scrub: bool, + + /// Automatic snapshot interval for metadata + #[serde(default)] + pub metadata_auto_snapshot_interval: Option<String>, + /// Size of data blocks to save to disk #[serde( deserialize_with = "deserialize_capacity", |