Default snapshot compression to zstd instead of bzip2 for quicker snapshot generation

This commit is contained in:
Michael Vines 2020-09-06 17:33:32 -07:00
parent d3750b47d2
commit 9ade73841f
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ pub fn main() {
exit(1); 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) { if let Ok(compression_str) = value_t!(matches, "snapshot_compression", String) {
match compression_str.as_str() { match compression_str.as_str() {
"bz2" => snapshot_compression = CompressionType::Bzip2, "bz2" => snapshot_compression = CompressionType::Bzip2,