Merge "Fix deprecation warning in glance-api.conf"
This commit is contained in:
commit
2ea4cff1ac
@ -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 -%}
|
||||
|
Loading…
Reference in New Issue
Block a user