We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77883ef commit fe50476Copy full SHA for fe50476
pkg/clusterproxy/client.go
@@ -77,7 +77,7 @@ func (c *Client) Run(ctx context.Context) error {
77
78
eb := backoff.NewExponentialBackOff()
79
eb.InitialInterval = 1 * time.Second
80
- eb.MaxInterval = 30 * time.Second
+ eb.MaxInterval = 5 * time.Minute
81
82
op := func() (struct{}, error) {
83
err := c.subscribe(ctx)
@@ -90,6 +90,7 @@ func (c *Client) Run(ctx context.Context) error {
90
91
_, err := backoff.Retry(ctx, op,
92
backoff.WithBackOff(eb),
93
+ backoff.WithMaxElapsedTime(0),
94
)
95
return err
96
}
0 commit comments