From de8e47435f2c08f86def1b26325c7cda46830a19 Mon Sep 17 00:00:00 2001 From: Trinity Pointard Date: Wed, 17 Mar 2021 20:37:31 +0100 Subject: compress blocs with zstd --- src/util/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util') 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, -- cgit v1.2.3