openscanhub: increase number of workers to 128

... in staging.

This is done for load testing purpose and should be reverted to a lower
value in the future.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-03-26 16:56:08 +01:00
parent ed6e67512e
commit f0537397da
2 changed files with 3 additions and 3 deletions

View file

@ -7,13 +7,13 @@ openscanhub_aws_spot_x86_64:
# This should be the same value for `MAX_SINGLE_USE_WORKERS` in `settings_local.py`.
{% if env == 'staging' %}
max: 4
max: 128
{% else %}
max: 32
{% endif %}
{% if env == 'staging' %}
max_starting: 4
max_starting: 128
{% else %}
max_starting: 32
{% endif %}

View file

@ -136,7 +136,7 @@ ENABLE_SINGLE_USE_WORKERS = True
# This number should be same as the `max` field in the `/etc/resallocserver/pools.yaml`
# on the resalloc server. Otherwise, we may end up with too less or too many tickets
# being opened.
MAX_SINGLE_USE_WORKERS = 4
MAX_SINGLE_USE_WORKERS = 128
# TODO: This url is used to dynamically generate worker configuration files.
SINGLE_USE_WORKER_OSH_HUB_URL = "https://openscanhub.stg.fedoraproject.org/xmlrpc"