Tweak rpc workers and max_pool_size for scaling
This commit is contained in:
parent
676db804c1
commit
b6ff05ddfe
@ -13,6 +13,7 @@ bind_host = {{ bind_host }}
|
|||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
notification_driver = neutron.openstack.common.notifier.rpc_notifier
|
notification_driver = neutron.openstack.common.notifier.rpc_notifier
|
||||||
api_workers = {{ workers }}
|
api_workers = {{ workers }}
|
||||||
|
rpc_workers = {{ workers }}
|
||||||
|
|
||||||
{% if neutron_bind_port -%}
|
{% if neutron_bind_port -%}
|
||||||
bind_port = {{ neutron_bind_port }}
|
bind_port = {{ neutron_bind_port }}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% if database_host -%}
|
{% if database_host -%}
|
||||||
[database]
|
[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 %}
|
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 -%}
|
{% endif -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user