From 168c90057bbb18670d759a46c4a098e544d1154d Mon Sep 17 00:00:00 2001 From: "jordan.brown" Date: Mon, 21 Oct 2024 13:50:31 -0700 Subject: [PATCH] lower retryClient timeout to 90s --- github/actions/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/actions/client.go b/github/actions/client.go index 2b40ffce..248c38ad 100644 --- a/github/actions/client.go +++ b/github/actions/client.go @@ -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 {