diff --git a/templates/barbican.conf.j2 b/templates/barbican.conf.j2 index 89d8012..1eae1fa 100644 --- a/templates/barbican.conf.j2 +++ b/templates/barbican.conf.j2 @@ -12,7 +12,7 @@ debug = {{ debug }} # communicate back with this service. host_href = {{ barbican_service_publicurl }} -sql_connection = mysql+pymysql://{{ barbican_galera_user }}:{{ barbican_galera_password }}@{{ barbican_galera_address }}/{{ barbican_galera_database }}?charset=utf8{% if barbican_galera_use_ssl | bool %}&ssl_verify_cert=true{% if barbican_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ barbican_galera_ssl_ca_cert }}{% endif %}{% endif +%} +sql_connection = mysql+pymysql://{{ barbican_galera_user }}:{{ barbican_galera_password }}@{{ barbican_galera_address }}:{{ barbican_galera_port }}/{{ barbican_galera_database }}?charset=utf8{% if barbican_galera_use_ssl | bool %}&ssl_verify_cert=true{% if barbican_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ barbican_galera_ssl_ca_cert }}{% endif %}{% endif +%} sql_pool_max_overflow = {{ barbican_db_max_overflow }} sql_pool_size = {{ barbican_db_max_pool_size }} sql_idle_timeout = {{ barbican_db_connection_recycle_time }}