summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-04-24 13:27:38 +0100
committerErik Johnston <erik@matrix.org>2017-04-24 13:27:38 +0100
commite4f34311166cc93ad26fc12969867e1db30b4a30 (patch)
tree180d40e166876fa896eb3fcc166c1f32988b9328 /synapse/storage/state.py
parentDocument some of the admin APIs (#2143) (diff)
downloadsynapse-e4f34311166cc93ad26fc12969867e1db30b4a30.tar.xz
Remove unused cache
Diffstat (limited to '')
-rw-r--r--synapse/storage/state.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index acd69944c4..927a936013 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -279,12 +279,7 @@ class StateStore(SQLBaseStore):
 
             return count
 
-    @cached(num_args=2, max_entries=100000, iterable=True)
-    def _get_state_group_from_group(self, group, types):
-        raise NotImplementedError()
-
-    @cachedList(cached_method_name="_get_state_group_from_group",
-                list_name="groups", num_args=2, inlineCallbacks=True)
+    @defer.inlineCallbacks
     def _get_state_groups_from_groups(self, groups, types):
         """Returns dictionary state_group -> (dict of (type, state_key) -> event id)
         """