vmware-nsx/quantum/api
Gary Kotton fe82df26f0 Add eventlet db_pool use for mysql
This adds the use of eventlet's db_pool module so that we can make mysql
calls without blocking the whole process.
New config options are introduced:

sql_dbpool_enable -- Enables the use of eventlet's db_pool
sql_min_pool_size -- Set the minimum number of SQL connections
sql_max_pool_size -- Set the maximum number of SQL connections
sql_idle_timeout  -- Timeout before idle sql connections are reaped

The default for sql_dbpool_enable is False for now, so there is
no forced behavior changes for those using mysql. sql_min_pool_size
is defaulted to 1 to match behavior if not using db_pool.

Fixes bug 1086173

Change-Id: Ied0aae33211585743fe955028a75c4e192a15d2f
2012-12-23 10:35:44 +00:00
..
v2 Add eventlet db_pool use for mysql 2012-12-23 10:35:44 +00:00
views Remove v1 code from quantum-server 2012-08-10 10:37:36 -07:00
__init__.py Remove v1 code from quantum-server 2012-08-10 10:37:36 -07:00
api_common.py Use openstack common log to do logging. 2012-11-01 10:09:57 +08:00
extensions.py Correct i18n message for api and db module 2012-11-28 21:29:53 +08:00
versions.py Use openstack common log to do logging. 2012-11-01 10:09:57 +08:00