-
- Downloads
Refactor presence so we can prune user in room caches (#13313)
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.
Showing
- changelog.d/13313.misc 1 addition, 0 deletionschangelog.d/13313.misc
- synapse/handlers/presence.py 36 additions, 76 deletionssynapse/handlers/presence.py
- synapse/storage/_base.py 4 additions, 0 deletionssynapse/storage/_base.py
- synapse/storage/databases/main/roommember.py 68 additions, 15 deletionssynapse/storage/databases/main/roommember.py
Loading
Please register or sign in to comment