11 Commits

Author SHA1 Message Date
Erik Johnston
cbabb312e0
Use async with for ID gens ()
This will allow us to hit the DB after we've finished using the generated stream ID.
2020-09-23 16:11:18 +01:00
Patrick Cloke
5c03134d0f
Convert additional database code to async/await. () 2020-08-28 07:54:27 -04:00
Patrick Cloke
b71d4a094c
Convert simple_delete to async/await. () 2020-08-27 14:16:41 -04:00
Patrick Cloke
9b7ac03af3
Convert calls of async database methods to async () 2020-08-27 13:38:41 -04:00
Patrick Cloke
4a739c73b4
Convert simple_update* and simple_select* to async () 2020-08-27 07:08:38 -04:00
Patrick Cloke
4c6c56dc58
Convert simple_select_one and simple_select_one_onecol to async () 2020-08-26 07:19:32 -04:00
Erik Johnston
2231dffee6
Make StreamIdGen get_next and get_next_mult async ()
This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator`
will have the same interface, allowing them to be used interchangeably.
2020-08-25 15:10:08 +01:00
Patrick Cloke
76c43f086a
Do not assume calls to runInteraction return Deferreds. () 2020-08-20 06:39:55 -04:00
Patrick Cloke
a3a59bab7b
Convert appservice, group server, profile and more databases to async () 2020-08-12 09:28:48 -04:00
David Vo
4dd27e6d11
Reduce unnecessary whitespace in JSON. () 2020-08-07 08:02:55 -04:00
Erik Johnston
a7bdf98d01
Rename database classes to make some sense () 2020-08-05 21:38:57 +01:00