diff options
author | Erik Johnston <erik@matrix.org> | 2016-06-15 15:12:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-06-15 15:16:14 +0100 |
commit | d41a1a91d3cce28e5416a91b7494d079e4c765f0 (patch) | |
tree | ce0c69bba395dc7346b135fc8e5ed2ae6a30ac4e /synapse/federation/replication.py | |
parent | Merge pull request #870 from matrix-org/rav/work_around_tls_bug (diff) | |
download | synapse-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.py | 2 |
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 |