From 28f738ba433fb1012f693866dc4b3f521fd824b5 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Tue, 2 Jul 2024 01:57:46 +0200 Subject: Authenticated media foundations --- LibMatrix/Extensions/MatrixHttpClient.Single.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LibMatrix/Extensions/MatrixHttpClient.Single.cs') diff --git a/LibMatrix/Extensions/MatrixHttpClient.Single.cs b/LibMatrix/Extensions/MatrixHttpClient.Single.cs index c9cd260..39eb7e5 100644 --- a/LibMatrix/Extensions/MatrixHttpClient.Single.cs +++ b/LibMatrix/Extensions/MatrixHttpClient.Single.cs @@ -26,7 +26,8 @@ public class MatrixHttpClient { EnableMultipleHttp2Connections = true }; Client = new HttpClient(handler) { - DefaultRequestVersion = new Version(3, 0) + DefaultRequestVersion = new Version(3, 0), + Timeout = TimeSpan.FromDays(1) }; } catch (PlatformNotSupportedException e) { -- cgit 1.4.1