Add namespace oslo.db.concurrency in nova-config-generator.conf

Nova uses oslo_db.concurrency.TpoolDbapiWrapper in [1], and config
option use_tpool decides to use of thread pooling for all DB API
calls[2]. We should provide this config opitons to users.

[1]https://github.com/openstack/nova/blob/master/nova/db/api.py#L43
[2]https://github.com/openstack/oslo.db/blob/master/oslo_db/concurrency.py#L28

Change-Id: Ic596a4db39224b5bb676765b6bcb7ac09d3aaaf4
This commit is contained in:
ChangBo Guo(gcb) 2016-06-29 17:09:39 +08:00
parent a074c661e4
commit cf83eccec2

View File

@ -12,6 +12,7 @@ namespace = oslo.policy
namespace = oslo.service.periodic_task
namespace = oslo.service.service
namespace = oslo.db
namespace = oslo.db.concurrency
namespace = oslo.middleware
namespace = oslo.concurrency
namespace = keystonemiddleware.auth_token