Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the implementation of ThreadTransactionManager
Changed the implementation of `ThreadTransactionManager` to be a `thread.local` that wraps a `TransactionManager` rather than a `thread.local` that inherits from `TransactionManager`. It now exposes a `manager` attribute that allows access to the wrapped transaction manager to allow cross thread calls. ZODB will use this to call `unregisterSynch` when a connection is closed from a main thread.
- Loading branch information
Showing
3 changed files
with
117 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters