summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/glance/templates/glance-registry.conf
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-04 09:07:20 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-04 09:07:20 +0800
commita54fac4888df4f75e3c4230efb36618e64e695b1 (patch)
tree2b4b32bf2a3fb9db659cfe3abd71472b446cc40f /deploy/adapters/ansible/roles/glance/templates/glance-registry.conf
parent5de09de80aac43e61ec411ad598e8cd915d9cadd (diff)
reduce idle connect timeout both on haproxy and services
JIRA: COMPASS-175 Change-Id: I3f992f245f3de832864458d1444d388c1685a171 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/glance/templates/glance-registry.conf')
-rw-r--r--deploy/adapters/ansible/roles/glance/templates/glance-registry.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/glance/templates/glance-registry.conf b/deploy/adapters/ansible/roles/glance/templates/glance-registry.conf
index 1fedb0b5..06c403fd 100644
--- a/deploy/adapters/ansible/roles/glance/templates/glance-registry.conf
+++ b/deploy/adapters/ansible/roles/glance/templates/glance-registry.conf
@@ -106,7 +106,7 @@ connection = mysql://glance:{{ GLANCE_DBPASS }}@{{ db_host }}/glance
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
# Deprecated group/name - [DATABASE]/sql_idle_timeout
# Deprecated group/name - [sql]/idle_timeout
-#idle_timeout = 3600
+idle_timeout = 30
# Minimum number of SQL connections to keep open in a pool
# (integer value)