Skip to content

Commit 37d534c

Browse files
committed
Revert "buildctl: set max backoff delay to 1 second"
This reverts commit 1aef766. Signed-off-by: Justin Chadwell <[email protected]> (cherry picked from commit d51edce) Signed-off-by: Justin Chadwell <[email protected]>
1 parent 2ed6628 commit 37d534c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmd/buildctl/common/common.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import (
1616
"github.com/pkg/errors"
1717
"github.com/urfave/cli"
1818
"go.opentelemetry.io/otel/trace"
19-
"google.golang.org/grpc"
20-
"google.golang.org/grpc/backoff"
2119
)
2220

2321
// ResolveClient resolves a client from CLI args
@@ -69,12 +67,6 @@ func ResolveClient(c *cli.Context) (*client.Client, error) {
6967

7068
opts := []client.ClientOpt{client.WithFailFast()}
7169

72-
backoffConfig := backoff.DefaultConfig
73-
backoffConfig.MaxDelay = 1 * time.Second
74-
opts = append(opts, client.WithGRPCDialOption(
75-
grpc.WithConnectParams(grpc.ConnectParams{Backoff: backoffConfig}),
76-
))
77-
7870
ctx := CommandContext(c)
7971

8072
if span := trace.SpanFromContext(ctx); span.SpanContext().IsValid() {

0 commit comments

Comments
 (0)