mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:44:52 -04:00
Use get_users_in_room and declare it iterable
This commit is contained in:
parent
9636b2407d
commit
828db669ec
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ class RoomMemberStore(SQLBaseStore):
|
|||
with self._stream_id_gen.get_next() as stream_ordering:
|
||||
yield self.runInteraction("locally_reject_invite", f, stream_ordering)
|
||||
|
||||
@cached(max_entries=5000)
|
||||
@cached(max_entries=1000000, iterable=True)
|
||||
def get_users_in_room(self, room_id):
|
||||
def f(txn):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue