diff options
author | Jason Little <realtyem@gmail.com> | 2023-05-09 13:25:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 14:25:20 -0400 |
commit | d3bd03559b14272dd68499ab7cff4b190858b285 (patch) | |
tree | ae8783b4d21c8cd3fc22f31c70c3d02484cf6a1c /synapse/replication | |
parent | Add config option to prevent media downloads from listed domains. (#15197) (diff) | |
download | synapse-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')
-rw-r--r-- | synapse/replication/http/_base.py | 2 |
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 |