db-snapshot: allow to set directory where snapshots are stored

Fix #926
This commit is contained in:
Baptiste Jonglez
2025-01-24 19:21:08 +01:00
parent 0156e40c9d
commit 59c153d280
3 changed files with 33 additions and 2 deletions
+3
View File
@@ -31,6 +31,9 @@ pub struct Config {
#[serde(default)]
pub use_local_tz: bool,
/// Optional directory where metadata snapshots will be store
pub metadata_snapshots_dir: Option<PathBuf>,
/// Automatic snapshot interval for metadata
#[serde(default)]
pub metadata_auto_snapshot_interval: Option<String>,