The oslo_db.concurrency Module

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
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.