From 14b7936c3b8981b4f98dd7e678aa467b3db2ab58 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Thu, 16 Jul 2020 11:49:52 -0400 Subject: [PATCH 1/2] Increase ls timeout from 7 to 20 seconds Signed-off-by: Saul Shanabrook --- commands/ls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ls.go b/commands/ls.go index bf927c4b..9aeae340 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -30,7 +30,7 @@ func runLs(dockerCli command.Cli, in lsOptions) error { } defer release() - ctx, cancel := context.WithTimeout(ctx, 7*time.Second) + ctx, cancel := context.WithTimeout(ctx, 20*time.Second) defer cancel() ll, err := txn.List() From c00c5a89e51105ec2eb8006790b670ef0ad04523 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Thu, 16 Jul 2020 11:51:09 -0400 Subject: [PATCH 2/2] Increase inspect timeout from 5 to 20 seconds Signed-off-by: Saul Shanabrook --- commands/inspect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/inspect.go b/commands/inspect.go index 8fd4433e..5c7e2a33 100644 --- a/commands/inspect.go +++ b/commands/inspect.go @@ -74,7 +74,7 @@ func runInspect(dockerCli command.Cli, in inspectOptions) error { ngi := &nginfo{ng: ng} - timeoutCtx, cancel := context.WithTimeout(ctx, 5*time.Second) + timeoutCtx, cancel := context.WithTimeout(ctx, 20*time.Second) defer cancel() err = loadNodeGroupData(timeoutCtx, dockerCli, ngi)