mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 15:39:00 +03:00
43adf2521c
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.
1 line
93 B
Text
1 line
93 B
Text
Change `get_users_in_room` and `get_rooms_for_user` caches to enable pruning of old entries.
|