about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/RemoteHomeServer.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-06-17 06:17:03 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-06-17 06:25:20 +0200
commit99294322327f899eb01e9c78c0681528cada99d1 (patch)
tree023a30b463867deb4c8b1b9df8c8b11770846860 /LibMatrix/Homeservers/RemoteHomeServer.cs
parentSingle httpclient implementation (diff)
downloadLibMatrix-99294322327f899eb01e9c78c0681528cada99d1.tar.xz
Single HTTP client fixes dev/new-httpclient
Diffstat (limited to 'LibMatrix/Homeservers/RemoteHomeServer.cs')
-rw-r--r--LibMatrix/Homeservers/RemoteHomeServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Homeservers/RemoteHomeServer.cs b/LibMatrix/Homeservers/RemoteHomeServer.cs
index 8669ca7..ecf3e3a 100644
--- a/LibMatrix/Homeservers/RemoteHomeServer.cs
+++ b/LibMatrix/Homeservers/RemoteHomeServer.cs
@@ -19,7 +19,7 @@ public class RemoteHomeserver {
         WellKnownUris = wellKnownUris;
         ClientHttpClient = new MatrixHttpClient {
             BaseAddress = new Uri(proxy?.TrimEnd('/') ?? wellKnownUris.Client?.TrimEnd('/') ?? throw new InvalidOperationException($"No client URI for {baseUrl}!")),
-            Timeout = TimeSpan.FromSeconds(300)
+            // Timeout = TimeSpan.FromSeconds(300) // TODO: Re-implement this
         };
 
         if (proxy is not null) ClientHttpClient.DefaultRequestHeaders.Add("MXAE_UPSTREAM", baseUrl);