Skip to content

Commit d642725

Browse files
authored
Fix: Fixed an issue where auto update would sometimes timeout (#13637)
1 parent 3c55775 commit d642725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Services/SideloadUpdateService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class SideloadUpdateService : ObservableObject, IUpdateService, ID
2121
private const string SIDELOAD_STABLE = "https://cdn.files.community/files/stable/Files.Package.appinstaller";
2222
private const string SIDELOAD_PREVIEW = "https://cdn.files.community/files/preview/Files.Package.appinstaller";
2323

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

2626
private readonly Dictionary<string, string> _sideloadVersion = new()
2727
{

0 commit comments

Comments
 (0)