更新 internal/invoke/client.go

This commit is contained in:
loveuer 2025-03-25 02:06:17 +00:00
parent 2e13671bb7
commit 48517b9334

View File

@ -67,6 +67,7 @@ func NewClient[T any](
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`),
grpc.WithChainUnaryInterceptor(retryInterceptor(3, 3*time.Second)),
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithAuthority(SCHEME),
)
conn, err := grpc.DialContext(