diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-03-13 15:15:19 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-03-20 10:26:51 +0100 |
| commit | c8b8f563ec2ff0f006a6d77469eaa656050f1fcc (patch) | |
| tree | 78d76b49404d044146d21f3f4a4cd1924154a160 /apt-pkg | |
| parent | d4d1366ef45d4002e1fd05ef8bdcb0c5039b8370 (diff) | |
zstd: The compressor level should be -6, not -19
We created a very slow zstd, we don't default to high levels
for other compressors...
Diffstat (limited to 'apt-pkg')
| -rw-r--r-- | apt-pkg/aptconfiguration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc index f462b6eda..96ff8b285 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -368,7 +368,7 @@ const Configuration::getCompressors(bool const Cached) { { CompressorsDone.push_back(NAME); compressors.emplace_back(NAME, EXT, BINARY, ARG, DEARG, COST); } APT_ADD_COMPRESSOR(".", "", "", nullptr, nullptr, 0) if (_config->Exists("Dir::Bin::zstd") == false || FileExists(_config->Find("Dir::Bin::zstd")) == true) - APT_ADD_COMPRESSOR("zstd", ".zst", "zstd", "-19", "-d", 60) + APT_ADD_COMPRESSOR("zstd", ".zst", "zstd", "-6", "-d", 60) #ifdef HAVE_ZSTD else APT_ADD_COMPRESSOR("zstd", ".zst", "false", nullptr, nullptr, 60) |
