From 0dc92e7060329f8fd10c72ab4aa4cb157473b60e Mon Sep 17 00:00:00 2001
From: Anupam Basak <anupam.basak27@gmail.com>
Date: Tue, 7 Mar 2023 13:04:09 +0530
Subject: [PATCH] Revert to using 12 threads to compress

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5a9909..20da39c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,7 +50,7 @@ build-zynthbox-image-armhf:
     - echo "Image Size -> $(du -h ./workspace/$image_name)"
     ### Compress rpi4 image
     ## - echo "# Compress image"
-    ## - xz -kzv --threads=32 --memory=100% ./workspace/$image_name
+    ## - xz -kzv --threads=12 --memory=100% ./workspace/$image_name
     ## - echo "Compressed rpi4 Image Size -> $(du -h ./workspace/$image_name.xz)"
     ### Push compressed rpi4 image to pub.zynthbox.io
     ##- echo "# Push compressed rpi4 image to pub.zynthbox.io"
@@ -75,7 +75,7 @@ build-zynthbox-image-armhf:
     - sudo umount $mountdir/boot/ $mountdir/dev/pts $mountdir/dev/ $mountdir/proc/ $mountdir/sys/
     - sudo umount $mountdir
     # Compress miko image
-    - xz -zv --threads=32 --memory=100% ./workspace/$image_name_miko
+    - xz -zv --threads=12 --memory=100% ./workspace/$image_name_miko
     - echo "Compressed miko Image Size -> $(du -h ./workspace/$image_name_miko.xz)"
     # Push compressed miko image to pub.zynthbox.io
     - echo "# Push compressed miko image to pub.zynthbox.io"
-- 
GitLab