From: Michael Tremer Date: Thu, 30 Jan 2025 11:45:10 +0000 (+0000) Subject: repo: Increase the Zstandard compression level X-Git-Tag: 0.9.30~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36c14cd7226d586a368f4e6f00ab206a7f7f408;p=pakfire.git repo: Increase the Zstandard compression level The data is actually really small and compresses well, so we can spend some extra CPU cycles to save disk space and bandwidth. Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/repo.c b/src/pakfire/repo.c index 0be69b29..2b9d8d07 100644 --- a/src/pakfire/repo.c +++ b/src/pakfire/repo.c @@ -1878,7 +1878,7 @@ static int pakfire_repo_write_database(struct pakfire_repo* repo, struct pakfire } // Initialize the output being compressed - f = pakfire_zstdfopen(f, "w"); + f = pakfire_zstdfopen(f, "w19"); if (!f) { ERROR(repo->ctx, "Could not initialize compression: %m\n"); return 1;