Use a custom scheme & the worker name for replication requests. (#15578)
All the information needed is already in the `instance_map`, so use that instead of passing the hostname / IP & port manually for each replication request. This consolidates logic for future improvements of using e.g. UNIX sockets for workers.
Showing
- changelog.d/15578.misc 1 addition, 0 deletionschangelog.d/15578.misc
- synapse/http/client.py 1 addition, 0 deletionssynapse/http/client.py
- synapse/http/replicationagent.py 27 additions, 7 deletionssynapse/http/replicationagent.py
- synapse/replication/http/_base.py 6 additions, 12 deletionssynapse/replication/http/_base.py
changelog.d/15578.misc
0 → 100644
Please register or sign in to comment