Part of lp.scripts.helpers View In Hierarchy
This helps ensure that long-running operations do not hold a database transaction. Long-running operations that hold a database transaction may have their database connection killed, and hold locks that interfere with other updates.
Static Method | any_active_transactions | Undocumented |
Class Method | __enter__ | Undocumented |
Class Method | __exit__ | Undocumented |
Class Method | require | Require that TransactionFreeOperation is used at least once. |