Skip to content

Commit 0a6a808

Browse files
[release/6.0] Bump up download file timeout (#39041)
* Bump up download file timeout * Update eng/tools/RepoTasks/DownloadFile.cs * Update eng/tools/RepoTasks/DownloadFile.cs Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
1 parent 77b8948 commit 0a6a808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/tools/RepoTasks/DownloadFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private async System.Threading.Tasks.Task<bool> ExecuteAsync()
100100

101101
Log.LogMessage(MessageImportance.High, $"Attempting download '{source}' to '{target}'");
102102

103-
using (var httpClient = new HttpClient { Timeout = TimeSpan.FromMinutes(5) })
103+
using (var httpClient = new HttpClient { Timeout = TimeSpan.FromMinutes(7.5) })
104104
{
105105
for (int retryNumber = 0; retryNumber < MaxRetries; retryNumber++)
106106
{

0 commit comments

Comments
 (0)