Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithCodes (0.07 sec)

  1. pkg/security/retry.go

    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),
    }
    
    // CARetryInterceptor is a grpc UnaryInterceptor that adds retry options, as a convenience wrapper
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top