Skip to content

Commit

Permalink
Merge pull request #323 from saulshanabrook/patch-1
Browse files Browse the repository at this point in the history
Increase ls and inspect timeouts
  • Loading branch information
tonistiigi authored Aug 21, 2020
2 parents 691a147 + c00c5a8 commit 9ac5b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion commands/ls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9ac5b07

Please sign in to comment.