Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Pass isolation_level to runWithConnection (#11847)
Browse files Browse the repository at this point in the history
This was missed in #11799
  • Loading branch information
babolivier authored Jan 27, 2022
1 parent 57e4786 commit 6d482ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/11847.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Preparation for reducing Postgres serialization errors: allow setting transaction isolation level. Contributed by Nick @ Beeper.
1 change: 1 addition & 0 deletions synapse/storage/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ async def runInteraction(
func,
*args,
db_autocommit=db_autocommit,
isolation_level=isolation_level,
**kwargs,
)

Expand Down

0 comments on commit 6d482ba

Please sign in to comment.