Skip to content

Commit aac4a85

Browse files
committed
build proxy: grant enough time for buildkitd to start.
1 parent 7d70b8e commit aac4a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/cmd/cluster/buildkit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func waitUntilReady(ctx context.Context, response *api.CreateClusterResult) erro
308308
return err
309309
}
310310

311-
return buildkitfw.WaitReadiness(ctx, 10*time.Second, func(innerCtx context.Context) (*client.Client, error) {
311+
return buildkitfw.WaitReadiness(ctx, 1*time.Minute, func(innerCtx context.Context) (*client.Client, error) {
312312
return client.New(innerCtx, response.ClusterId, client.WithContextDialer(func(innerCtx context.Context, _ string) (net.Conn, error) {
313313
return api.DialEndpointWithToken(innerCtx, token, buildkitSvc.Endpoint)
314314
}))

0 commit comments

Comments
 (0)