mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 22:03:10 -06:00
Fix commit room NID etc when using txns in postgres (hopefully)
This commit is contained in:
parent
0e3bc7a3e6
commit
a648d4572d
|
|
@ -45,6 +45,7 @@ func NewMembershipUpdater(
|
||||||
}
|
}
|
||||||
|
|
||||||
if !useTxns {
|
if !useTxns {
|
||||||
|
txn.Commit() // nolint:errcheck
|
||||||
txn = nil
|
txn = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue