Tweak rpc workers and max_pool_size for scaling

This commit is contained in:
James Page 2014-10-22 17:31:29 +01:00
parent 676db804c1
commit b6ff05ddfe
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
api_workers = {{ workers }}
rpc_workers = {{ workers }}
{% if neutron_bind_port -%}
bind_port = {{ neutron_bind_port }}

View File

@ -1,4 +1,5 @@
{% if database_host -%}
[database]
connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
max_pool_size = {{ workers * 4 }}
{% endif -%}