Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Refactor MatrixFederationAgent to retry SRV.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
erikjohnston committed Aug 15, 2019
1 parent ce5f1cb commit f299c54
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 194 deletions.
Loading

0 comments on commit f299c54

Please sign in to comment.