lower retryClient timeout to 90s

This commit is contained in:
jordan.brown 2024-10-21 13:50:31 -07:00
parent 96d1bbcf2f
commit 168c90057b
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ func NewClient(githubConfigURL string, creds *ActionsAuth, options ...ClientOpti
retryClient.RetryMax = ac.retryMax
retryClient.RetryWaitMax = ac.retryWaitMax
retryClient.HTTPClient.Timeout = 5 * time.Minute // timeout must be > 1m to accomodate long polling
retryClient.HTTPClient.Timeout = 90 * time.Second // timeout must be > 1m to accommodate long polling
transport, ok := retryClient.HTTPClient.Transport.(*http.Transport)
if !ok {