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

Commit 6d482ba

Browse files
authored
Pass isolation_level to runWithConnection (#11847)
This was missed in #11799
1 parent 57e4786 commit 6d482ba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/11847.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Preparation for reducing Postgres serialization errors: allow setting transaction isolation level. Contributed by Nick @ Beeper.

synapse/storage/database.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ async def runInteraction(
748748
func,
749749
*args,
750750
db_autocommit=db_autocommit,
751+
isolation_level=isolation_level,
751752
**kwargs,
752753
)
753754

0 commit comments

Comments
 (0)