diff --git a/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml b/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml index 1ff3c21358..7b1933e8b0 100644 --- a/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml +++ b/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml @@ -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 %} diff --git a/roles/openshift-apps/openscanhub/templates/settings_local.py b/roles/openshift-apps/openscanhub/templates/settings_local.py index 485bd2d381..d8e67744f6 100644 --- a/roles/openshift-apps/openscanhub/templates/settings_local.py +++ b/roles/openshift-apps/openscanhub/templates/settings_local.py @@ -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"