The congress.db.utils Module

The congress.db.utils Module

congress.db.utils.retry_on_db_error(func)

Decorates the given function so that it retries on DB deadlock errors.

Parameters:func – Function to decorate.
Returns:Decorated function.
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.