From 1e96ccfd7bfca499ff6e9aab5828fbd37b6c7647 Mon Sep 17 00:00:00 2001 From: Cameron Meissner Date: Wed, 9 Jul 2025 10:39:31 -0700 Subject: [PATCH] perf(client): reduce max per-RPC retries --- client/internal/bootstrap/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/bootstrap/grpc.go b/client/internal/bootstrap/grpc.go index 066b4da..3aa55a2 100644 --- a/client/internal/bootstrap/grpc.go +++ b/client/internal/bootstrap/grpc.go @@ -49,7 +49,7 @@ func getServiceClient(token string, cfg *Config) (akssecuretlsbootstrapv1.Secure grpc.WithUnaryInterceptor(retry.UnaryClientInterceptor( retry.WithBackoff(retry.BackoffExponentialWithJitterBounded(100*time.Millisecond, 0.75, 2*time.Second)), retry.WithCodes(codes.Aborted, codes.Unavailable), - retry.WithMax(30), + retry.WithMax(10), )), ) if err != nil {