mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-13 15:05:20 +00:00
f299c5414c
This refactors MatrixFederationAgent to move the SRV lookup into the endpoint code, this has two benefits: 1. Its easier to retry different host/ports in the same way as HostnameEndpoint. 2. We avoid SRV lookups if we have a free connection in the pool