diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/heat/templates/heat.j2')
-rw-r--r-- | deploy/adapters/ansible/roles/heat/templates/heat.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/heat/templates/heat.j2 b/deploy/adapters/ansible/roles/heat/templates/heat.j2 index 72d4b61e..a7856103 100644 --- a/deploy/adapters/ansible/roles/heat/templates/heat.j2 +++ b/deploy/adapters/ansible/roles/heat/templates/heat.j2 @@ -12,6 +12,14 @@ log_dir = /var/log/heat stack_domain_admin = heat_domain_admin stack_domain_admin_password = {{ HEAT_PASS }} stack_user_domain_name = heat +{% if ansible_processor_vcpus > 30 %} +num_engine_workers = 30 +{% endif %} + +[heat_api] +{% if ansible_processor_vcpus > 30 %} +workers = 30 +{% endif %} [database] connection = mysql://heat:{{ HEAT_DBPASS }}@{{ db_host }}/heat |