diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-05 12:40:17 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-05 12:40:17 +0200 |
commit | 07e6bcde85bd1b24ec62b4f4cb552a7a20247370 (patch) | |
tree | 9eaf8de338f9aac41ae499517a2adf1159a48864 /src/util/config.rs | |
parent | 6226f5ceca7828d096890c3dbc5b9fbc3f7c4b14 (diff) | |
parent | 0009fd136c744944888df15d706ca08ca251aed7 (diff) | |
download | garage-07e6bcde85bd1b24ec62b4f4cb552a7a20247370.tar.gz garage-07e6bcde85bd1b24ec62b4f4cb552a7a20247370.zip |
Merge branch 'main' into lx-perf-improvements
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 e8ef4fdd..a2bb8fb3 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 @@ -147,9 +143,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> { |