diff --git a/templates/placement.conf.j2 b/templates/placement.conf.j2 index 0311fb2..1dc74a8 100644 --- a/templates/placement.conf.j2 +++ b/templates/placement.conf.j2 @@ -22,7 +22,7 @@ service_token_roles = {{ placement_service_token_roles | join(',') }} service_type = {{ placement_service_type }} [placement_database] -connection = mysql+pymysql://{{ placement_galera_user }}:{{ placement_galera_password }}@{{ placement_galera_address }}/{{ placement_galera_database }}?charset=utf8{% if placement_galera_use_ssl | bool %}&ssl_verify_cert=true{% if placement_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ placement_galera_ssl_ca_cert }}{% endif %}{% endif +%} +connection = mysql+pymysql://{{ placement_galera_user }}:{{ placement_galera_password }}@{{ placement_galera_address }}:{{ placement_galera_port }}/{{ placement_galera_database }}?charset=utf8{% if placement_galera_use_ssl | bool %}&ssl_verify_cert=true{% if placement_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ placement_galera_ssl_ca_cert }}{% endif %}{% endif +%} max_overflow = {{ placement_db_max_overflow }} max_pool_size = {{ placement_db_max_pool_size }} pool_timeout = {{ placement_db_pool_timeout }}