summary refs log tree commit diff
path: root/changelog.d/11878.misc
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-02-02 12:24:07 -0500
committerGitHub <noreply@github.com>2022-02-02 12:24:07 -0500
commita8da0469070771b0b63c97a96f3221afea2aa2e7 (patch)
tree6a9b0aec7fccd25fef806ea78024f96ef5e6e224 /changelog.d/11878.misc
parentFix type errors introduced by new annotations in the Prometheus Client librar... (diff)
downloadsynapse-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.misc1
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.