Use all cores when compressing with zstd.
This commit is contained in:
parent
236b84a486
commit
c51fb24c7b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue