summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-08-02 15:21:37 +0100
committerGitHub <noreply@github.com>2016-08-02 15:21:37 +0100
commit7b0f6293f27c52194d86c3944a590d096e024f1b (patch)
treeebc1480decfa0f4063ec74628ae8e01bb84b5fc3 /synapse/handlers/sync.py
parentPrint authorization header for federation_client.py (diff)
parentCache federation state responses (diff)
downloadsynapse-7b0f6293f27c52194d86c3944a590d096e024f1b.tar.xz
Merge pull request #940 from matrix-org/erikj/fed_state_cache
Cache federation state responses
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index be26a491ff..0ee4ebe504 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -138,7 +138,7 @@ class SyncHandler(object): self.presence_handler = hs.get_presence_handler() self.event_sources = hs.get_event_sources() self.clock = hs.get_clock() - self.response_cache = ResponseCache() + self.response_cache = ResponseCache(hs) def wait_for_sync_for_user(self, sync_config, since_token=None, timeout=0, full_state=False):