diff options
author | Alex <alex@adnab.me> | 2021-04-14 23:27:33 +0200 |
---|---|---|
committer | Alex <alex@adnab.me> | 2021-04-14 23:27:33 +0200 |
commit | 307858bf0a077e6bb7ce77d9f5ca56c4ae2a5e63 (patch) | |
tree | ed1fa4c1db9bde2ead40ac60c29b681ed21f0de7 /src/util | |
parent | 76efb4999d41da71b1c89093ed651a9e162801c6 (diff) | |
parent | d4fd07400008247c475ffe2c66bb2bd57bf7ab5c (diff) | |
download | garage-307858bf0a077e6bb7ce77d9f5ca56c4ae2a5e63.tar.gz garage-307858bf0a077e6bb7ce77d9f5ca56c4ae2a5e63.zip |
Merge pull request 'Compress with zstd' (#44) from trinity-1686a/garage:zstd-block into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/44
Diffstat (limited to 'src/util')
-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..29901d46 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>, |