diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-03-17 20:37:31 +0100 |
---|---|---|
committer | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-08 15:38:31 +0200 |
commit | de8e47435f2c08f86def1b26325c7cda46830a19 (patch) | |
tree | acb13c919d38220eec385f6e1a967fd4089fcb11 /src/util/config.rs | |
parent | 7560a41ab16fa45f9a1397ee93581ad39f873cbb (diff) | |
download | garage-de8e47435f2c08f86def1b26325c7cda46830a19.tar.gz garage-de8e47435f2c08f86def1b26325c7cda46830a19.zip |
compress blocs with zstd
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 bb70467b..ab9cae6c 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -45,6 +45,10 @@ pub struct Config { #[serde(default = "default_replication_factor")] pub data_replication_factor: usize, + /// Zstd compression level used on data blocks + #[serde(default)] + pub compression_level: i32, + /// Configuration for RPC TLS pub rpc_tls: Option<TlsConfig>, |