- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WithBackoff (0.11 sec)
-
pkg/security/retry.go
// CARetryOptions returns the default retry options recommended for CA calls // This includes 5 retries, with backoff from 100ms -> 1.6s with jitter. var CARetryOptions = []retry.CallOption{ retry.WithMax(5), retry.WithBackoff(wrapBackoffWithMetrics(retry.BackoffExponentialWithJitter(100*time.Millisecond, 0.1))), retry.WithCodes(codes.Canceled, codes.DeadlineExceeded, codes.ResourceExhausted, codes.Aborted, codes.Internal, codes.Unavailable), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.2K bytes - Viewed (0)