mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-13 19:32:12 -04:00
Convert simple_update* and simple_select* to async (#8173)
This commit is contained in:
parent
a466b67972
commit
4a739c73b4
19 changed files with 164 additions and 133 deletions
|
@ -125,8 +125,8 @@ class RoomWorkerStore(SQLBaseStore):
|
|||
"get_room_with_stats", get_room_with_stats_txn, room_id
|
||||
)
|
||||
|
||||
def get_public_room_ids(self):
|
||||
return self.db_pool.simple_select_onecol(
|
||||
async def get_public_room_ids(self) -> List[str]:
|
||||
return await self.db_pool.simple_select_onecol(
|
||||
table="rooms",
|
||||
keyvalues={"is_public": True},
|
||||
retcol="room_id",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue