lower retryClient timeout to 90s
This commit is contained in:
parent
96d1bbcf2f
commit
168c90057b
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue