From fb034aaa90186d9d17ce7f05e51d634a8aedb0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Eriksson?= Date: Tue, 10 Sep 2024 14:37:55 +0200 Subject: [PATCH] cli: increase app creation timeout --- cli/cmd/encore/app/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/encore/app/create.go b/cli/cmd/encore/app/create.go index fb70d8211b..ff6c7f1a2b 100644 --- a/cli/cmd/encore/app/create.go +++ b/cli/cmd/encore/app/create.go @@ -358,7 +358,7 @@ func createAppOnServer(name string, cfg exampleConfig) (*platform.App, error) { if _, err := conf.CurrentUser(); err != nil { return nil, err } - ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() params := &platform.CreateAppParams{ Name: name,