neutron/quantum
Gary Kotton 7b5f6fd6ae 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
..
agent l3 agent rpc 2012-12-04 16:46:44 +08:00
api Add eventlet db_pool use for mysql 2012-12-23 10:35:44 +00:00
common Drop duplicated port_id check in remove_router_interface() 2012-12-06 12:40:16 +09:00
db Add eventlet db_pool use for mysql 2012-12-23 10:35:44 +00:00
debug Add QUANTUM_ prefix for env used by quantum-debug 2012-11-09 13:38:40 -08:00
extensions The patch introduces an API extension for LBaaS service 2012-12-19 13:11:47 +04:00
openstack l3 agent rpc 2012-12-04 16:46:44 +08:00
plugins Add eventlet db_pool use for mysql 2012-12-23 10:35:44 +00:00
rootwrap Update KillFilter to handle 'deleted' exe's. 2012-11-05 15:24:39 -05:00
server Updated openstack-common setup and version code. 2012-11-08 09:21:34 +08:00
tests Merge "Fix log message for unreferenced variable" 2012-12-21 11:56:28 +00:00
__init__.py Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
auth.py Import order clean-up 2012-11-02 09:52:12 +08:00
context.py Fix context problem 2012-11-21 08:13:26 +08:00
manager.py l3 agent rpc 2012-12-04 16:46:44 +08:00
policy.py Import order clean-up 2012-11-02 09:52:12 +08:00
quantum_plugin_base_v2.py fix broken logic of only using hasattr to check for get_x_counts 2012-11-20 12:59:20 -08:00
quota.py fix broken logic of only using hasattr to check for get_x_counts 2012-11-20 12:59:20 -08:00
service.py l3 agent rpc 2012-12-04 16:46:44 +08:00
version.py Updated openstack-common setup and version code. 2012-11-08 09:21:34 +08:00
wsgi.py Correct i18n message 2012-11-25 16:37:13 +08:00