diff options
author | Alex <alex@adnab.me> | 2024-03-15 09:22:33 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-03-15 09:22:33 +0000 |
commit | a80ce6ab5ad9834c3721eeb4f626d53c9a8bb1f4 (patch) | |
tree | 36cabc0cdee72d13b778e5668c454b35e842c293 /src/util/config.rs | |
parent | 62b01d8705b8525cfe323aecf4ea085ac8671a8e (diff) | |
parent | 990205dc3b2f552e9b68168c0aad3e96e2d6f2f0 (diff) | |
download | garage-a80ce6ab5ad9834c3721eeb4f626d53c9a8bb1f4.tar.gz garage-a80ce6ab5ad9834c3721eeb4f626d53c9a8bb1f4.zip |
Merge pull request '`disable_scrub` configuration option' (#774) from disable-scrub into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/774
Diffstat (limited to 'src/util/config.rs')
-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 056c625d..7338a506 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -23,6 +23,10 @@ pub struct Config { #[serde(default)] pub data_fsync: bool, + /// Disable automatic scrubbing of the data directory + #[serde(default)] + pub disable_scrub: bool, + /// Size of data blocks to save to disk #[serde( deserialize_with = "deserialize_capacity", |