diff --git a/main.go b/main.go index fe40c4f..221aab9 100644 --- a/main.go +++ b/main.go @@ -151,7 +151,7 @@ func request(client *http.Client, token, method, url string, body interface{}) ( // ------------------------------- func Deploy(cfg Config) error { - client := &http.Client{Timeout: 15 * time.Second} + client := &http.Client{Timeout: 120 * time.Second} if cfg.TLSSkipVerify { client.Transport = &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, @@ -206,7 +206,7 @@ func Deploy(cfg Config) error { } func (s *Stack) Redeploy(cfg Config) error { - client := &http.Client{Timeout: 15 * time.Second} + client := &http.Client{Timeout: 120 * time.Second} if cfg.TLSSkipVerify { client.Transport = &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true},