about summary refs log tree commit diff
path: root/LibMatrix/Extensions
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-07-02 01:57:46 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-07-02 01:57:46 +0200
commit28f738ba433fb1012f693866dc4b3f521fd824b5 (patch)
tree86cc3381b99ca637a1986578292f60de2c097c57 /LibMatrix/Extensions
parentReturn null on TryGetFromJson if a JsonException happens (diff)
downloadLibMatrix-28f738ba433fb1012f693866dc4b3f521fd824b5.tar.xz
Authenticated media foundations
Diffstat (limited to 'LibMatrix/Extensions')
-rw-r--r--LibMatrix/Extensions/MatrixHttpClient.Single.cs3
1 files changed, 2 insertions, 1 deletions
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) {