-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use a single transaction for all remote mediator operations (…
…#1256) Previous code used a transaction for updates to the database, but didn't do the earlier reads in the same transaction. Theoretically this could race. Guard against this by using a single transaction for a complete remote mediator operation (refresh, prepend, append).
- Loading branch information
1 parent
26b1645
commit ecb0f7c
Showing
2 changed files
with
83 additions
and
84 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