diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-11 09:52:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-11 09:52:11 +0100 |
commit | 28a46497856a2140e8828787af4051c79d12b57e (patch) | |
tree | a683df728cc421f7f70b8d349d31baff8ddce28d /synapse/app | |
parent | Typo (diff) | |
download | synapse-28a46497856a2140e8828787af4051c79d12b57e.tar.xz |
Remove HTTP replication APIs
Diffstat (limited to 'synapse/app')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 990eb477e5..6f5924d2c7 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -55,7 +55,6 @@ from synapse.crypto import context_factory from synapse.util.logcontext import LoggingContext, PreserveLoggingContext from synapse.metrics import register_memory_metrics, get_metrics_for from synapse.metrics.resource import MetricsResource, METRICS_PREFIX -from synapse.replication.resource import ReplicationResource, REPLICATION_PREFIX from synapse.replication.tcp.resource import ReplicationStreamProtocolFactory from synapse.federation.transport.server import TransportLayerServer @@ -167,9 +166,6 @@ class SynapseHomeServer(HomeServer): if name == "metrics" and self.get_config().enable_metrics: resources[METRICS_PREFIX] = MetricsResource(self) - if name == "replication": - resources[REPLICATION_PREFIX] = ReplicationResource(self) - if WEB_CLIENT_PREFIX in resources: root_resource = RootRedirect(WEB_CLIENT_PREFIX) else: |