Merge remote-tracking branch 'origin/master' into om

This commit is contained in:
loveuer 2025-04-07 15:47:03 +08:00
commit 541cd8d506

View File

@ -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(