summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-15 15:12:59 +0100
committerErik Johnston <erik@matrix.org>2016-06-15 15:16:14 +0100
commitd41a1a91d3cce28e5416a91b7494d079e4c765f0 (patch)
treece0c69bba395dc7346b135fc8e5ed2ae6a30ac4e /synapse/federation/federation_client.py
parentMerge pull request #870 from matrix-org/rav/work_around_tls_bug (diff)
downloadsynapse-d41a1a91d3cce28e5416a91b7494d079e4c765f0.tar.xz
Linearize fetching of gaps on incoming events
This potentially stops the server from doing multiple requests for the
same data.
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r--synapse/federation/federation_client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index d835c1b038..b06387051c 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -52,6 +52,8 @@ sent_queries_counter = metrics.register_counter("sent_queries", labels=["type"])
 
 
 class FederationClient(FederationBase):
+    def __init__(self, hs):
+        super(FederationClient, self).__init__(hs)
 
     def start_get_pdu_cache(self):
         self._get_pdu_cache = ExpiringCache(