summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-07 19:13:45 +0100
committerErik Johnston <erik@matrix.org>2015-08-07 19:14:05 +0100
commit3213ff630ca6f7f624d65dbab55e2c4c65fe80ce (patch)
tree341503712aac8db24d0ccad778d5abcdedf9e7b7 /synapse/storage
parentChange Cache to not use *args in its interface (diff)
downloadsynapse-3213ff630ca6f7f624d65dbab55e2c4c65fe80ce.tar.xz
Remove unnecessary cache
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/state.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 55c6d52890..7ce51b9bdc 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from ._base import SQLBaseStore, cached, cachedInlineCallbacks
+from ._base import SQLBaseStore, cachedInlineCallbacks
 
 from twisted.internet import defer
 
@@ -91,7 +91,6 @@ class StateStore(SQLBaseStore):
 
         defer.returnValue(dict(state_list))
 
-    @cached(num_args=1)
     def _fetch_events_for_group(self, key, events):
         return self._get_events(
             events, get_prev_content=False