mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:56:02 -04:00
Make presence.get_new_events a bit faster
We do this by caching the set of users a user shares rooms with.
This commit is contained in:
parent
14d5e22700
commit
54a79c1d37
4 changed files with 33 additions and 29 deletions
|
@ -437,6 +437,7 @@ class RoomEventSource(object):
|
|||
limit,
|
||||
room_ids,
|
||||
is_guest,
|
||||
explicit_room_id=None,
|
||||
):
|
||||
# We just ignore the key for now.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue