summary refs log tree commit diff
path: root/synapse/replication/http
diff options
context:
space:
mode:
authorJason Little <realtyem@gmail.com>2023-05-09 13:25:20 -0500
committerGitHub <noreply@github.com>2023-05-09 14:25:20 -0400
commitd3bd03559b14272dd68499ab7cff4b190858b285 (patch)
treeae8783b4d21c8cd3fc22f31c70c3d02484cf6a1c /synapse/replication/http
parentAdd config option to prevent media downloads from listed domains. (#15197) (diff)
downloadsynapse-d3bd03559b14272dd68499ab7cff4b190858b285.tar.xz
HTTP Replication Client (#15470)
Separate out a HTTP client for replication in preparation for
also supporting using UNIX sockets. The major difference from
the base class is that this does not use treq to handle HTTP
requests.
Diffstat (limited to 'synapse/replication/http')
-rw-r--r--synapse/replication/http/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/_base.py b/synapse/replication/http/_base.py
index 8c2c54c07a..23129962e9 100644
--- a/synapse/replication/http/_base.py
+++ b/synapse/replication/http/_base.py
@@ -194,7 +194,7 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
         the `instance_map` config).
         """
         clock = hs.get_clock()
-        client = hs.get_simple_http_client()
+        client = hs.get_replication_client()
         local_instance_name = hs.get_instance_name()
 
         # The value of these option should match the replication listener settings