]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/misc: use medium compression
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 21 Mar 2023 14:36:36 +0000 (10:36 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 28 Mar 2023 15:08:21 +0000 (11:08 -0400)
To speed things up.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
teuthology/misc.py

index c04d4d59712ddf070d1cf0c7a25eba05226ca336..7207ba15f8f4a5580b4d8db0bdbba29e99827939 100644 (file)
@@ -1367,7 +1367,7 @@ def compress_logs(ctx, remote_dir):
     run.wait(
         ctx.cluster.run(
             args=(f"sudo find {remote_dir} -name *.log -print0 | "
-                  f"sudo xargs --max-args=1 --max-procs=0 --verbose -0 --no-run-if-empty -- gzip --"),
+                  f"sudo xargs --max-args=1 --max-procs=0 --verbose -0 --no-run-if-empty -- gzip -5 --"),
             wait=False,
         ),
     )