Skip to content

Commit

Permalink
increase request timeout to five minutes to help with downloading lar…
Browse files Browse the repository at this point in the history
…ger repos.
  • Loading branch information
jonhadfield committed Aug 24, 2024
1 parent 62759cc commit 77d030b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func getHTTPClient(logLevel string) *retryablehttp.Client {
rc := retryablehttp.NewClient()
rc.HTTPClient = &http.Client{
Transport: tr,
Timeout: 120 * time.Second,
Timeout: 300 * time.Second,
}

if !strings.EqualFold(logLevel, "debug") {
Expand Down

0 comments on commit 77d030b

Please sign in to comment.