summary refs log tree commit diff
path: root/synapse/federation/replication.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/replication.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/replication.py')
-rw-r--r--synapse/federation/replication.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py
index 3e062a5eab..ea66a5dcbc 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -72,5 +72,7 @@ class ReplicationLayer(FederationClient, FederationServer):
 
         self.hs = hs
 
+        super(ReplicationLayer, self).__init__(hs)
+
     def __str__(self):
         return "<ReplicationLayer(%s)>" % self.server_name