This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Overly aggressive purging of get_users_in_room cache? #11875
Labels
A-Performance
Performance, both client-facing and admin-facing
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
We invalidate the
get_users_in_room
cache (and a few others) as part of_invalidate_state_caches
, we calculate amembers_changed
with the comment:But don't seem to be using it in the opposite direction (
get_users_for_room
).tl;dr I think we are invalidating this cache in situations we do not need to.
The text was updated successfully, but these errors were encountered: