From 28df3811277dd1be11c67e45742b232fda2856e3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sun, 30 Oct 2022 02:47:46 +0200 Subject: [PATCH] Re-set copr-be quota Revert "copr-be: temporarily slow backend down" This reverts commit d7720ef7b5420994b6ebe09285b574c4c75a9ee2. --- roles/copr/backend/files/cron.daily/copr-backend | 6 +++--- roles/copr/backend/templates/copr-be.conf.j2 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/copr/backend/files/cron.daily/copr-backend b/roles/copr/backend/files/cron.daily/copr-backend index 405f93b05d..04f8f6bebf 100644 --- a/roles/copr/backend/files/cron.daily/copr-backend +++ b/roles/copr/backend/files/cron.daily/copr-backend @@ -1,7 +1,7 @@ #!/usr/bin/sh -#runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr_prune_results.py &> /dev/null" - copr -#runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr_prune_srpms.py &> /dev/null" - copr +runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr_prune_results.py &> /dev/null" - copr +runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr_prune_srpms.py &> /dev/null" - copr # Optional - Counting downloaded RPMs through Amazon CDN -#runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr-aws-s3-hitcounter --verbose &> /dev/null" - copr +runuser -c "PYTHONUNBUFFERED=1 python3 /usr/bin/copr-aws-s3-hitcounter --verbose &> /dev/null" - copr diff --git a/roles/copr/backend/templates/copr-be.conf.j2 b/roles/copr/backend/templates/copr-be.conf.j2 index 0a3d039dd3..fec96850fb 100644 --- a/roles/copr/backend/templates/copr-be.conf.j2 +++ b/roles/copr/backend/templates/copr-be.conf.j2 @@ -56,7 +56,7 @@ builds_max_workers_arch= # Maximum number of concurrently running tasks per project owner. {% if env == 'production' %} -builds_max_workers_owner=10 +builds_max_workers_owner=45 {% elif devel %} builds_max_workers_owner=15 {% else %} @@ -64,11 +64,11 @@ builds_max_workers_owner=0 {% endif %} # Maximum number of concurrently running tasks per build sandbox. -builds_max_workers_sandbox=5 +builds_max_workers_sandbox=35 # Maximum number of concurrent background processes spawned for handling # actions. -actions_max_workers=10 +actions_max_workers=20 # publish fedmsg notifications from workers if true # default is false