summary refs log tree commit diff
path: root/synapse/federation/transport/server.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 13:46:38 +0000
committerGitHub <noreply@github.com>2018-03-13 13:46:38 +0000
commit56e709857ce6f48197061dbb5597d90a75877051 (patch)
treeeb63a5f203e206a29eaae2fb29b10e8a01ea1de5 /synapse/federation/transport/server.py
parentMerge pull request #2980 from matrix-org/erikj/rm_priv (diff)
parentDon't build handlers on workers unnecessarily (diff)
downloadsynapse-56e709857ce6f48197061dbb5597d90a75877051.tar.xz
Merge pull request #2979 from matrix-org/erikj/no_handlers
Don't build handlers on workers unnecessarily
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r--synapse/federation/transport/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 06c16ba4fa..04b83e691a 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -1190,7 +1190,7 @@ GROUP_ATTESTATION_SERVLET_CLASSES = (
 def register_servlets(hs, resource, authenticator, ratelimiter):
     for servletclass in FEDERATION_SERVLET_CLASSES:
         servletclass(
-            handler=hs.get_replication_layer(),
+            handler=hs.get_replication_server(),
             authenticator=authenticator,
             ratelimiter=ratelimiter,
             server_name=hs.hostname,