
This MariaDB setting uses the same timeout for SQL connections as configured inside SQL Alchemy (pool_recycle) and prevent possibly SQL session build up due to a large default setting (8 Hours). Nova and Neutron are using a idle_timeout of 3600 by default, for example https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L101 and respectively for Neutron https://github.com/openstack/neutron/blob/stable/liberty/etc/neutron.conf#L761 Change-Id: I273739c3c10616cac148aeb839154e0fb3359bca Closes-Bug: #1571682
6 lines
186 B
YAML
6 lines
186 B
YAML
---
|
|
upgrade:
|
|
- The MariaDB wait_timeout setting is decreased to 1h to match the
|
|
SQL Alchemy pool recycle timeout, in order to prevent unnecessary
|
|
database session buildups.
|