copr-be: temporarily slow backend down

Related to:
https://pagure.io/fedora-infrastructure/issue/10951
https://docs.google.com/spreadsheets/d/1URopuw2R533H6i4vSTH8Nt47EIhs3ubWcLUXvRcxTRQ/edit#gid=0

I'm also disabling the /etc/cron.weekly job (manually).
This commit is contained in:
Pavel Raiskup 2022-10-28 20:42:53 +02:00
parent 1282c45a97
commit d7720ef7b5
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -56,7 +56,7 @@ builds_max_workers_arch=
# Maximum number of concurrently running tasks per project owner.
{% if env == 'production' %}
builds_max_workers_owner=45
builds_max_workers_owner=10
{% 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=35
builds_max_workers_sandbox=5
# Maximum number of concurrent background processes spawned for handling
# actions.
actions_max_workers=20
actions_max_workers=10
# publish fedmsg notifications from workers if true
# default is false