Skip to content

Commit

Permalink
Fix: Fixed an issue where auto update would sometimes timeout (files-…
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Nov 1, 2023
1 parent 3c55775 commit d642725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/Services/SideloadUpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed class SideloadUpdateService : ObservableObject, IUpdateService, ID
private const string SIDELOAD_STABLE = "https://cdn.files.community/files/stable/Files.Package.appinstaller";
private const string SIDELOAD_PREVIEW = "https://cdn.files.community/files/preview/Files.Package.appinstaller";

private readonly HttpClient _client = new(new SocketsHttpHandler { PooledConnectionLifetime = TimeSpan.FromMinutes(1) });
private readonly HttpClient _client = new(new SocketsHttpHandler { PooledConnectionLifetime = TimeSpan.FromMinutes(3) });

private readonly Dictionary<string, string> _sideloadVersion = new()
{
Expand Down

0 comments on commit d642725

Please sign in to comment.