Added possibility to manage use_db_reconnect option
PROD-34776
Change-Id: Id68b75cc900729cba1ccf38a414409583d4eac52
diff --git a/oslo_templates/files/queens/oslo/_database.conf b/oslo_templates/files/queens/oslo/_database.conf
index 77ef17f..3353e35 100644
--- a/oslo_templates/files/queens/oslo/_database.conf
+++ b/oslo_templates/files/queens/oslo/_database.conf
@@ -111,6 +111,9 @@
# Enable the experimental use of database reconnect on connection
# lost. (boolean value)
#use_db_reconnect = false
+{%- if _data.use_db_reconnect is defined %}
+use_db_reconnect = {{ _data.use_db_reconnect }}
+{%- endif %}
# Seconds between retries of a database transaction. (integer value)
#db_retry_interval = 1