From de13c5ed75e26547ba0575e31cc49fefcba18a25 Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Wed, 1 May 2024 15:34:35 -0400 Subject: [PATCH] reduce http client timeout also version bump --- SPTInstaller/Helpers/DownloadCacheHelper.cs | 2 +- SPTInstaller/SPTInstaller.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SPTInstaller/Helpers/DownloadCacheHelper.cs b/SPTInstaller/Helpers/DownloadCacheHelper.cs index 7d8d933..2866bb3 100644 --- a/SPTInstaller/Helpers/DownloadCacheHelper.cs +++ b/SPTInstaller/Helpers/DownloadCacheHelper.cs @@ -7,7 +7,7 @@ namespace SPTInstaller.Helpers; public static class DownloadCacheHelper { - private static HttpClient _httpClient = new() { Timeout = TimeSpan.FromHours(1) }; + private static HttpClient _httpClient = new() { Timeout = TimeSpan.FromMinutes(15) }; public static string CachePath = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "spt-installer/cache"); diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj index 46b94aa..9b99f82 100644 --- a/SPTInstaller/SPTInstaller.csproj +++ b/SPTInstaller/SPTInstaller.csproj @@ -9,8 +9,8 @@ icon.ico Assets\icon.ico Debug;Release;TEST - 2.61 - 2.61 + 2.62 + 2.62 SPT-AKI