Use all cores when compressing with zstd.

This commit is contained in:
Vagrant Cascadian 2021-05-09 01:11:30 -07:00 committed by Johannes Schauer Marin Rodrigues
parent 236b84a486
commit c51fb24c7b
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -241,7 +241,7 @@ sub get_tar_compressor {
} elsif ($filename =~ /\.(xz|txz)$/) { } elsif ($filename =~ /\.(xz|txz)$/) {
return ['xz', '--threads=0']; return ['xz', '--threads=0'];
} elsif ($filename =~ /\.zst$/) { } elsif ($filename =~ /\.zst$/) {
return ['zstd']; return ['zstd', '--threads=0'];
} }
return; return;
} }