summary refs log tree commit diff
path: root/synapse/federation/federation_server.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 11:45:25 +0000
committerGitHub <noreply@github.com>2018-03-13 11:45:25 +0000
commit9a2d9b478966ff065cfdca9f595cb2d3012a6d22 (patch)
tree21b127372eae5fae7508e38aa9ca55d94e4c36cc /synapse/federation/federation_server.py
parentMerge pull request #2976 from matrix-org/erikj/replication_registry (diff)
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-9a2d9b478966ff065cfdca9f595cb2d3012a6d22.tar.xz
Merge pull request #2977 from matrix-org/erikj/replication_move_props
Move property setting from ReplicationLayer to base classes
Diffstat (limited to 'synapse/federation/federation_server.py')
-rw-r--r--synapse/federation/federation_server.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 90302c9537..f6fd2e86e9 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -23,6 +23,8 @@ from synapse.federation.federation_base import (
     FederationBase,
     event_from_pdu_json,
 )
+
+from synapse.federation.persistence import TransactionActions
 from synapse.federation.units import Edu, Transaction
 import synapse.metrics
 from synapse.types import get_domain_from_id
@@ -56,6 +58,10 @@ class FederationServer(FederationBase):
         self._server_linearizer = async.Linearizer("fed_server")
         self._transaction_linearizer = async.Linearizer("fed_txn_handler")
 
+        self.transaction_actions = TransactionActions(self.store)
+
+        self.handler = None
+
         self.registry = hs.get_federation_registry()
 
         # We cache responses to state queries, as they take a while and often