diff options
author | Renjaya Raga Zenta <ragazenta@gmail.com> | 2024-11-21 15:18:53 +0700 |
---|---|---|
committer | Renjaya Raga Zenta <ragazenta@gmail.com> | 2024-11-23 05:51:12 +0700 |
commit | 4c1bf42192db26aa455d94b65d2b9d638720f60b (patch) | |
tree | c73c1264920e2aa6e8ad06eae37e578f65ccb232 /src/util | |
parent | 906c8708fd53880d998c595ccd39ab9f08866457 (diff) | |
download | garage-4c1bf42192db26aa455d94b65d2b9d638720f60b.tar.gz garage-4c1bf42192db26aa455d94b65d2b9d638720f60b.zip |
feat: add use_local_tz configuration
Used in lifecycle_worker to determine midnight time
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index 59329c0b..a24db84e 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -27,6 +27,10 @@ pub struct Config { #[serde(default)] pub disable_scrub: bool, + /// Use local timezone + #[serde(default)] + pub use_local_tz: bool, + /// Automatic snapshot interval for metadata #[serde(default)] pub metadata_auto_snapshot_interval: Option<String>, |