The oslo_db.concurrency Module

class oslo_db.concurrency.TpoolDbapiWrapper(conf, backend_mapping)

Bases: object

DB API wrapper class.

This wraps the oslo DB API with an option to be able to use eventlet’s thread pooling. Since the CONF variable may not be loaded at the time this class is instantiated, we must look at it on the first DB API call.

oslo_db.concurrency.list_opts()

Returns a list of oslo.config options available in this module.

Returns:a list of (group_name, opts) tuples

Previous topic

The oslo_db.api Module

Next topic

The oslo_db.exception Module

Project Source

This Page