diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-07 18:13:27 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-07 18:13:27 +0200 |
commit | 8adc6547132412ef7a43ea4172b2d627c19c38a7 (patch) | |
tree | b026cc5a398b17120f21d4e490901032da573531 /src/util/config.rs | |
parent | 107853334bd045e145e3149c63172a9c0260b8db (diff) | |
parent | 9f5433db821612fc462800c7532418522d6dbe2a (diff) | |
download | garage-8adc6547132412ef7a43ea4172b2d627c19c38a7.tar.gz garage-8adc6547132412ef7a43ea4172b2d627c19c38a7.zip |
Merge branch 'main' into improve-deps
Diffstat (limited to 'src/util/config.rs')
-rw-r--r-- | src/util/config.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index 46c5cb9d..cccad101 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -23,10 +23,6 @@ pub struct Config { #[serde(default = "default_block_size")] pub block_size: usize, - /// Size of data blocks to save to disk - #[serde(default = "default_block_manager_background_tranquility")] - pub block_manager_background_tranquility: u32, - /// Replication mode. Supported values: /// - none, 1 -> no replication /// - 2 -> 2-way replication @@ -145,9 +141,6 @@ fn default_sled_flush_every_ms() -> u64 { fn default_block_size() -> usize { 1048576 } -fn default_block_manager_background_tranquility() -> u32 { - 2 -} /// Read and parse configuration pub fn read_config(config_file: PathBuf) -> Result<Config, Error> { |