From 9ade73841f8f6f817c1b3cea0e75145748cd5d4a Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sun, 6 Sep 2020 17:33:32 -0700 Subject: [PATCH] Default snapshot compression to zstd instead of bzip2 for quicker snapshot generation --- validator/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/src/main.rs b/validator/src/main.rs index 2b07bc2cb6..f7a466a790 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -1059,7 +1059,7 @@ pub fn main() { exit(1); }); - let mut snapshot_compression = CompressionType::Bzip2; + let mut snapshot_compression = CompressionType::Zstd; if let Ok(compression_str) = value_t!(matches, "snapshot_compression", String) { match compression_str.as_str() { "bz2" => snapshot_compression = CompressionType::Bzip2,