Commit graph

6 commits

Author SHA1 Message Date
Neil Alexander 1ecd40082e
Linter fixes 2020-08-18 17:48:05 +01:00
Neil Alexander 2e65e0d160
Fix redaction deadlocks 2020-08-18 17:26:59 +01:00
Neil Alexander 352a4a896c
Updated TransactionWriters, moved locks in roomserver, various other tweaks (I'm so sorry for this commit) 2020-08-18 17:16:13 +01:00
Neil Alexander 9959817d31
Latest events and membership updaters return cleanup lambdas 2020-08-18 15:05:03 +01:00
Neil Alexander 93f996bda3
Juggle around things a bit 2020-08-18 14:02:27 +01:00
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