diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-16 14:15:50 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-16 14:47:52 +0000 |
commit | 847d5db1d1aa30fd6a8166e36fe04e6d94533521 (patch) | |
tree | 73fcd72f44b37cbfd34c2821eacc98d18013abf4 /synapse/federation/replication.py | |
parent | Move logic into transaction_queue (diff) | |
download | synapse-847d5db1d1aa30fd6a8166e36fe04e6d94533521.tar.xz |
Add transaction queue and transport layer to DI
Diffstat (limited to 'synapse/federation/replication.py')
-rw-r--r-- | synapse/federation/replication.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py index 043baef13f..797c4bedbf 100644 --- a/synapse/federation/replication.py +++ b/synapse/federation/replication.py @@ -20,8 +20,6 @@ a given transport. from .federation_client import FederationClient from .federation_server import FederationServer -from .transaction_queue import TransactionQueue - from .persistence import TransactionActions import logging @@ -66,7 +64,7 @@ class ReplicationLayer(FederationClient, FederationServer): self._clock = hs.get_clock() self.transaction_actions = TransactionActions(self.store) - self._transaction_queue = TransactionQueue(hs, transport_layer) + self._transaction_queue = hs.get_federation_sender() self.hs = hs |