mirror of
https://github.com/element-hq/synapse
synced 2024-07-05 17:23:30 +00:00
See #10826 and #10786 for context as to why we had to disable pruning on those caches. Now that `get_users_who_share_room_with_user` is called frequently only for presence, we just need to make calls to it less frequent and then we can remove the various levels of caching that is going on.
2 lines
93 B
Plaintext
2 lines
93 B
Plaintext
Change `get_users_in_room` and `get_rooms_for_user` caches to enable pruning of old entries.
|