diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-02 16:42:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-02 16:42:21 +0100 |
commit | b3d5c4ad9d0c6d858cae1c46bebf0c9442f0187b (patch) | |
tree | 68c20a2a0675a6af1eb7f110a0031933b076ee00 /synapse | |
parent | Merge pull request #940 from matrix-org/erikj/fed_state_cache (diff) | |
download | synapse-b3d5c4ad9d0c6d858cae1c46bebf0c9442f0187b.tar.xz |
Fix response cache
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
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) ) |