Parcourir la source

increase default timeout on CLI (#4664)

d-g-town il y a 2 ans
Parent
commit
45e5976ef7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      api/client/api.go

+ 1 - 1
api/client/api.go

@@ -53,7 +53,7 @@ func NewClientWithConfig(ctx context.Context, input NewClientInput) (Client, err
 	client := Client{
 		BaseURL: input.BaseURL,
 		HTTPClient: &http.Client{
-			Timeout: time.Minute,
+			Timeout: 60 * time.Minute,
 		},
 	}
 	if cfToken := os.Getenv("PORTER_CF_ACCESS_TOKEN"); cfToken != "" {