Skip to content

Commit

Permalink
[cli] ports-list: Increase timeout for establishing connection + rece…
Browse files Browse the repository at this point in the history
…iving response to 5s -> 10s (#20424)
  • Loading branch information
geropl authored Dec 5, 2024
1 parent 2db6b3f commit 5982621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gitpod-cli/cmd/ports-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var listPortsCmd = &cobra.Command{
Use: "list",
Short: "Lists the workspace ports and their states.",
RunE: func(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)
ctx, cancel := context.WithTimeout(cmd.Context(), 10*time.Second)
defer cancel()

client, err := supervisor.New(ctx)
Expand Down

0 comments on commit 5982621

Please sign in to comment.