diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-27 16:33:44 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-03 15:35:52 +0100 |
commit | 36c28bc467e53cf7318964a4dc986428644f27ed (patch) | |
tree | c2b46831a4298f68ae7489ababeb22767b56c26b /synapse/server.py | |
parent | Change slave storage to use new replication interface (diff) | |
download | synapse-36c28bc467e53cf7318964a4dc986428644f27ed.tar.xz |
Update all the workers and master to use TCP replication
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 4 |
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) |