Files
fedora-infra_ansible/roles/openqa/worker/templates/workers.ini.j2
Adam Williamson 2dbf99e280 openqa/worker: bump load average threshold for big worker hosts
This is a new feature in openQA that prevents worker hosts
picking up new jobs if their load average is above a certain
threshold. It defaults to 40. Our big worker hosts tend to run
above this, so let's bump it on those.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-30 23:27:48 -07:00

17 lines
633 B
Django/Jinja

[global]
HOST = http://{{ openqa_hostname|default('localhost') }}
{% if openqa_worker_class is defined %}
WORKER_CLASS = {{ openqa_worker_class }}
{% elif openqa_tap %}
{% if ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' %}
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_ppc64le,qemu_ppc64
{% elif ansible_architecture == 'aarch64' %}
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_aarch64,qemu_arm
{% else %}
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_x86_64,qemu_i686,qemu_i586
{% endif %}
{% endif %}
{% if openqa_critical_threshold is defined %}
CRITICAL_LOAD_AVG_THRESHOLD = {{ openqa_critical_threshold }}
{% endif %}