0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 06:03:44 +01:00
dendrite/roomserver/storage/shared
Kegsay a6f995eb45
Merge Updater structs (#1069)
* Move Updater structs to shared and use it for postgres

* Add constructors for NewXXXUpdater and a useTxns flag

In sqlite, we set useTxns=false and comment why.

* Handle nil txn

* Handle nil in transaction

* Missed one

* Close the txn at the right time

* Don't close the transaction as we reuse it between calls
2020-05-28 11:15:21 +01:00
..
membership_updater.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
prepare.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
room_recent_events_updater.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
storage.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00