From d7000728f227d951081bbe0327b02a9d5cf2207a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 25 Jul 2026 11:03:14 -1000 Subject: Keep zstd snapshots single-threaded --- source/ui-snapshot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/ui-snapshot.c') diff --git a/source/ui-snapshot.c b/source/ui-snapshot.c index 7470943..5dc4fec 100644 --- a/source/ui-snapshot.c +++ b/source/ui-snapshot.c @@ -95,7 +95,9 @@ static int write_tar_xz_archive(const char *hex, const char *prefix) static int write_tar_zstd_archive(const char *hex, const char *prefix) { - char *argv[] = { "zstd", "-T0", NULL }; + // Stay single-threaded like the other compressors so one request + // cannot pin every core. -T0 would fan out across all of them. + char *argv[] = { "zstd", NULL }; return write_compressed_tar_archive(hex, prefix, argv); } -- cgit v2.8.0