Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit e1a2358

Browse files
committed
Handle updated name for get_rooms_for_users in external redis cache
1 parent 6b69e26 commit e1a2358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _enable_external_caches(self) -> None:
166166
self._attempt_to_enable_redis_cache("get_local_users_in_room")
167167
self._attempt_to_enable_redis_cache("get_rooms_for_user")
168168
self._attempt_to_enable_redis_cache( # @cachedList of above
169-
"get_rooms_for_users"
169+
"_get_rooms_for_users"
170170
)
171171
self._attempt_to_enable_redis_cache(
172172
"get_rooms_for_user_with_stream_ordering"

0 commit comments

Comments
 (0)