diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-02-02 12:24:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 12:24:07 -0500 |
commit | a8da0469070771b0b63c97a96f3221afea2aa2e7 (patch) | |
tree | 6a9b0aec7fccd25fef806ea78024f96ef5e6e224 /changelog.d/11878.misc | |
parent | Fix type errors introduced by new annotations in the Prometheus Client librar... (diff) | |
download | synapse-a8da0469070771b0b63c97a96f3221afea2aa2e7.tar.xz |
Invalidate the get_users_in_room{_with_profile} caches only when necessary. (#11878)
The get_users_in_room and get_users_in_room_with_profiles are now only invalidated when the membership of a room changes, instead of during any state change in the room.
Diffstat (limited to 'changelog.d/11878.misc')
-rw-r--r-- | changelog.d/11878.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11878.misc b/changelog.d/11878.misc new file mode 100644 index 0000000000..74915a47dd --- /dev/null +++ b/changelog.d/11878.misc @@ -0,0 +1 @@ +Do not needlessly clear the `get_users_in_room` and `get_users_in_room_with_profiles` caches when any room state changes. |