You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Make the HTTP client factory reuse the underlying client
This avoids duplicating clients, and makes it so that they all share the same connection pool.
This commit is contained in:
@@ -142,7 +142,7 @@ impl TestState {
|
||||
|
||||
let homeserver_connection = MockHomeserverConnection::new("example.com");
|
||||
|
||||
let http_client_factory = HttpClientFactory::new(10);
|
||||
let http_client_factory = HttpClientFactory::new().await?;
|
||||
|
||||
let site_config = SiteConfig::default();
|
||||
|
||||
|
Reference in New Issue
Block a user