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

Commit

Permalink
Remove redis caching of _get_user_ids_from_membership_event_ids
Browse files Browse the repository at this point in the history
This cache is invalidated as part of event puring and this isn't supported
by the Redis list cache wrapper.
  • Loading branch information
Fizzadar committed Aug 15, 2023
1 parent e6816af commit ab86c68
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions synapse/storage/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ def register_external_cached_function(
def _enable_external_caches(self) -> None:
external_cache = self.hs.get_external_sharded_cache()
if external_cache.is_enabled():
self._attempt_to_enable_redis_cache(
"_get_user_ids_from_membership_event_ids"
)
self._attempt_to_enable_redis_cache("get_users_in_room")
self._attempt_to_enable_redis_cache("get_current_hosts_in_room")
self._attempt_to_enable_redis_cache("get_local_users_in_room")
Expand Down

0 comments on commit ab86c68

Please sign in to comment.