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:
parent
ed6e67512e
commit
f0537397da
2 changed files with 3 additions and 3 deletions
|
@ -7,13 +7,13 @@ openscanhub_aws_spot_x86_64:
|
||||||
|
|
||||||
# This should be the same value for `MAX_SINGLE_USE_WORKERS` in `settings_local.py`.
|
# This should be the same value for `MAX_SINGLE_USE_WORKERS` in `settings_local.py`.
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
max: 4
|
max: 128
|
||||||
{% else %}
|
{% else %}
|
||||||
max: 32
|
max: 32
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
max_starting: 4
|
max_starting: 128
|
||||||
{% else %}
|
{% else %}
|
||||||
max_starting: 32
|
max_starting: 32
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -136,7 +136,7 @@ ENABLE_SINGLE_USE_WORKERS = True
|
||||||
# This number should be same as the `max` field in the `/etc/resallocserver/pools.yaml`
|
# 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
|
# on the resalloc server. Otherwise, we may end up with too less or too many tickets
|
||||||
# being opened.
|
# being opened.
|
||||||
MAX_SINGLE_USE_WORKERS = 4
|
MAX_SINGLE_USE_WORKERS = 128
|
||||||
|
|
||||||
# TODO: This url is used to dynamically generate worker configuration files.
|
# TODO: This url is used to dynamically generate worker configuration files.
|
||||||
SINGLE_USE_WORKER_OSH_HUB_URL = "https://openscanhub.stg.fedoraproject.org/xmlrpc"
|
SINGLE_USE_WORKER_OSH_HUB_URL = "https://openscanhub.stg.fedoraproject.org/xmlrpc"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue