diff options
author | 2015-12-04 09:07:20 +0800 | |
---|---|---|
committer | 2015-12-04 09:07:20 +0800 | |
commit | a54fac4888df4f75e3c4230efb36618e64e695b1 (patch) | |
tree | 2b4b32bf2a3fb9db659cfe3abd71472b446cc40f /deploy/adapters/ansible/openstack/templates/neutron.conf | |
parent | 5de09de80aac43e61ec411ad598e8cd915d9cadd (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/openstack/templates/neutron.conf')
-rw-r--r-- | deploy/adapters/ansible/openstack/templates/neutron.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/openstack/templates/neutron.conf b/deploy/adapters/ansible/openstack/templates/neutron.conf index 02a2cfa2..ebc46f99 100644 --- a/deploy/adapters/ansible/openstack/templates/neutron.conf +++ b/deploy/adapters/ansible/openstack/templates/neutron.conf @@ -428,7 +428,8 @@ min_pool_size = 1 max_pool_size = 100 # Timeout in seconds before idle sql connections are reaped -idle_timeout = 3600 +idle_timeout = 30 +use_db_reconnect = True # If set, use this value for max_overflow with sqlalchemy max_overflow = 100 |