mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Pass isolation_level
to runWithConnection
(#11847)
This was missed in https://github.com/matrix-org/synapse/pull/11799
This commit is contained in:
parent
57e4786e90
commit
6d482ba259
1
changelog.d/11847.misc
Normal file
1
changelog.d/11847.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Preparation for reducing Postgres serialization errors: allow setting transaction isolation level. Contributed by Nick @ Beeper.
|
@ -748,6 +748,7 @@ class DatabasePool:
|
|||||||
func,
|
func,
|
||||||
*args,
|
*args,
|
||||||
db_autocommit=db_autocommit,
|
db_autocommit=db_autocommit,
|
||||||
|
isolation_level=isolation_level,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user