summary refs log tree commit diff
path: root/synapse/federation/federation_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-02 16:42:21 +0100
committerErik Johnston <erik@matrix.org>2016-08-02 16:42:21 +0100
commitb3d5c4ad9d0c6d858cae1c46bebf0c9442f0187b (patch)
tree68c20a2a0675a6af1eb7f110a0031933b076ee00 /synapse/federation/federation_server.py
parentMerge pull request #940 from matrix-org/erikj/fed_state_cache (diff)
downloadsynapse-b3d5c4ad9d0c6d858cae1c46bebf0c9442f0187b.tar.xz
Fix response cache
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index d15c7e1b40..8f6955ac18 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -205,7 +205,7 @@ class FederationServer(FederationBase):
         result = self._state_resp_cache.get((room_id, event_id))
         if not result:
             with (yield self._server_linearizer.queue((origin, room_id))):
-                resp = yield self.response_cache.set(
+                resp = yield self._state_resp_cache.set(
                     (room_id, event_id),
                     self._on_context_state_request_compute(room_id, event_id)
                 )