Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
or-shachar authored Nov 2, 2023
1 parent 26fb5a6 commit b35e35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rest/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewFromConfig(host string, config *settings.Config) *Client {

baseURL, _ := url.Parse(host)
timeout := defaultTimeout
if timeoutEnv, ok := os.LookupEnv("HTTP_TIMEOUT"); ok {
if timeoutEnv, ok := os.LookupEnv("CIRCLECI_CLI_TIMEOUT"); ok {
if parsedTimeout, err := time.ParseDuration(timeoutEnv); err == nil {
timeout = parsedTimeout
} else {
Expand Down

0 comments on commit b35e35d

Please sign in to comment.