Merge "Fix deprecation warning in glance-api.conf"

This commit is contained in:
Zuul 2020-01-07 11:04:21 +00:00 committed by Gerrit Code Review
commit 2ea4cff1ac

View File

@ -1,5 +1,9 @@
{% 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 %}
{% if database_type == "mysql" -%}
idle_timeout = 3600
{% else -%}
connection_recycle_time = 3600
{% endif -%}
{% endif -%}