aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack/templates/nova.conf
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/openstack/templates/nova.conf')
-rw-r--r--deploy/adapters/ansible/openstack/templates/nova.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack/templates/nova.conf b/deploy/adapters/ansible/openstack/templates/nova.conf
index 4a7bb0a2..99071d78 100644
--- a/deploy/adapters/ansible/openstack/templates/nova.conf
+++ b/deploy/adapters/ansible/openstack/templates/nova.conf
@@ -39,6 +39,10 @@ notification_driver = nova.openstack.common.notifier.rpc_notifier
notification_driver = ceilometer.compute.nova_notifier
memcached_servers = {{ memcached_servers }}
+{% if ansible_processor_vcpus > 30 %}
+osapi_compute_workers = 30
+{% endif %}
+
[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:{{ NOVA_DBPASS }}@{{ db_host }}/nova