diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep zstd snapshots single-threaded
Diffstat (limited to 'source/ui-snapshot.c')
-rw-r--r--source/ui-snapshot.c4
1 file changed, 3 insertions, 1 deletion
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);
}