summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-03-13 20:02:56 +0000
committerRichard van der Hoff <richard@matrix.org>2019-03-13 20:02:56 +0000
commit02e23b36bc7cb892734699aed28c71616cf7fe79 (patch)
treecfcd86c7364f8be80b2e2b2802a65ab0d7d69d54 /synapse/server.py
parentFactor per-destination stuff out of TransactionQueue (diff)
downloadsynapse-02e23b36bc7cb892734699aed28c71616cf7fe79.tar.xz
Rename and move the classes
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 72835e8c86..ee1506f2ad 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -42,7 +42,7 @@ from synapse.federation.federation_server import (
     ReplicationFederationHandlerRegistry,
 )
 from synapse.federation.send_queue import FederationRemoteSendQueue
-from synapse.federation.transaction_queue import TransactionQueue
+from synapse.federation.sender import FederationSender
 from synapse.federation.transport.client import TransportLayerClient
 from synapse.groups.attestations import GroupAttestationSigning, GroupAttestionRenewer
 from synapse.groups.groups_server import GroupsServerHandler
@@ -421,7 +421,7 @@ class HomeServer(object):
 
     def build_federation_sender(self):
         if self.should_send_federation():
-            return TransactionQueue(self)
+            return FederationSender(self)
         elif not self.config.worker_app:
             return FederationRemoteSendQueue(self)
         else: