aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-06 22:13:01 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-06 22:13:01 +0200
commit6b958979bd898a576ee9c1021cc908b3ec75ffc7 (patch)
tree72e35a3b12c616965bcdf60bf18d1c0db29955ba /src/util/config.rs
parent4024822585783368993ac26807d076d8c312bb35 (diff)
parentd23b3a14fc28de164080e762f0e97e6cbc868940 (diff)
downloadgarage-6b958979bd898a576ee9c1021cc908b3ec75ffc7.tar.gz
garage-6b958979bd898a576ee9c1021cc908b3ec75ffc7.zip
Merge branch 'lx-perf-improvements' into netapp-stream-body
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs7
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> {