[db-snapshot] implement meta_auto_snapshot_interval

This commit is contained in:
Alex Auvolat
2024-03-14 18:21:37 +01:00
parent 8dff278b72
commit 1e42808a59
8 changed files with 164 additions and 3 deletions
+4
View File
@@ -27,6 +27,10 @@ pub struct Config {
#[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",