test-bugzilla-files/config         |    1 +
 test-bugzilla-files/new-control.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit de8c1b014eb8834eb99d3b631bb803ed64bf1127
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Fri Aug 19 16:07:39 2022 +0200
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 14 11:47:11 2022 +0200

    Make number of worker processes configurable
    
    Change-Id: Ifce496acbab12f0ca4f5b68e78cdcf22ee24488d
    Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/138721
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index f069e32..199b191 100644
--- a/test-bugzilla-files/config
+++ b/test-bugzilla-files/config
@@ -3,6 +3,7 @@ export SRCDIR=/home/$USER/source/libo-core
 export BUILDDIR=/home/$USER/build
 export INSTDIR=$BUILDDIR/instdir
 export USERDIR=/home/$USER/.config
+export WORKERS=30
 
 # Warning limits
 export DISKSPACELIMIT=5      # Remaining disk space warning limit in GiB.
diff --git a/test-bugzilla-files/new-control.py 
b/test-bugzilla-files/new-control.py
index cda4cb7..59dcebe 100644
--- a/test-bugzilla-files/new-control.py
+++ b/test-bugzilla-files/new-control.py
@@ -150,7 +150,7 @@ if __name__ == "__main__":
         sys.exit(1)
 
     task_size = 100
-    workers = 30
+    workers = int(os.environ["WORKERS"])
     if asan == 1:
         workers = 64
 

Reply via email to