Merge remote-tracking branch 'origin/master' into om
This commit is contained in:
commit
541cd8d506
@ -67,6 +67,7 @@ func NewClient[T any](
|
|||||||
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`),
|
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`),
|
||||||
grpc.WithChainUnaryInterceptor(retryInterceptor(3, 3*time.Second)),
|
grpc.WithChainUnaryInterceptor(retryInterceptor(3, 3*time.Second)),
|
||||||
grpc.WithTransportCredentials(insecure.NewCredentials()),
|
grpc.WithTransportCredentials(insecure.NewCredentials()),
|
||||||
|
grpc.WithAuthority(SCHEME),
|
||||||
)
|
)
|
||||||
|
|
||||||
conn, err := grpc.DialContext(
|
conn, err := grpc.DialContext(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user