summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2012-11-20 21:15:57 +0000
committerChris Behrens <cbehrens@codestud.com>2012-11-26 19:46:32 +0000
commitb1e8c29bd95874eb8a3d210b40da200051836aa8 (patch)
tree4a5fc933f89dac578eaa2b7fa3760f46f17571d9 /nova/api
parentab77c4e1b8e4c500a9372e290e658952a2441627 (diff)
downloadnova-b1e8c29bd95874eb8a3d210b40da200051836aa8.tar.gz
nova-b1e8c29bd95874eb8a3d210b40da200051836aa8.tar.xz
nova-b1e8c29bd95874eb8a3d210b40da200051836aa8.zip
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 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. Adds a new test module for our sqlalchemy code, testing this new option as much as is possible without requiring mysql server to be running. DocImpact Change-Id: I99833f447df05c1beba5a3925b201dfccca72cae
Diffstat (limited to 'nova/api')
0 files changed, 0 insertions, 0 deletions