mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 18:04:49 -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
|
@ -378,6 +378,7 @@ class Notifier(object):
|
|||
limit=limit,
|
||||
is_guest=is_peeking,
|
||||
room_ids=room_ids,
|
||||
explicit_room_id=explicit_room_id,
|
||||
)
|
||||
|
||||
if name == "room":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue