commit 7b5f6fd6ae0722f49b563f2f3f293a34d8f632d9
Author: Gary Kotton <email address hidden>
Date: Mon Dec 10 12:39:22 2012 +0000
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.
Reviewed: https:/ /review. openstack. org/17779 github. com/openstack/ quantum/ commit/ 7b5f6fd6ae0722f 49b563f2f3f293a 34d8f632d9
Committed: http://
Submitter: Jenkins
Branch: master
commit 7b5f6fd6ae0722f 49b563f2f3f293a 34d8f632d9
Author: Gary Kotton <email address hidden>
Date: Mon Dec 10 12:39:22 2012 +0000
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 min_pool_ size -- Set the minimum number of SQL connections max_pool_ size -- Set the maximum number of SQL connections idle_timeout -- Timeout before idle sql connections are reaped
sql_
sql_
sql_
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: Ied0aae33211585 743fe955028a75c 4e192a15d2f