summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-27 16:33:44 +0100
committerErik Johnston <erik@matrix.org>2017-04-03 15:35:52 +0100
commit36c28bc467e53cf7318964a4dc986428644f27ed (patch)
treec2b46831a4298f68ae7489ababeb22767b56c26b /synapse/server.py
parentChange slave storage to use new replication interface (diff)
downloadsynapse-36c28bc467e53cf7318964a4dc986428644f27ed.tar.xz
Update all the workers and master to use TCP replication
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index c577032041..6310152560 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -132,6 +132,7 @@ class HomeServer(object):
         'federation_sender',
         'receipts_handler',
         'macaroon_generator',
+        'tcp_replication',
     ]
 
     def __init__(self, hostname, **kwargs):
@@ -290,6 +291,9 @@ class HomeServer(object):
     def build_receipts_handler(self):
         return ReceiptsHandler(self)
 
+    def build_tcp_replication(self):
+        raise NotImplementedError()
+
     def remove_pusher(self, app_id, push_key, user_id):
         return self.get_pusherpool().remove_pusher(app_id, push_key, user_id)