comented grpc withblock
This commit is contained in:
parent
13110b9e4d
commit
cbd82e8779
@ -13,7 +13,7 @@ func DiscountGRPCClient(address string) (discount.DiscountServiceClient, error)
|
|||||||
|
|
||||||
options := []grpc.DialOption{
|
options := []grpc.DialOption{
|
||||||
grpc.WithInsecure(),
|
grpc.WithInsecure(),
|
||||||
grpc.WithBlock(),
|
//grpc.WithBlock(),
|
||||||
}
|
}
|
||||||
|
|
||||||
conn, err := grpc.DialContext(ctx, address, options...)
|
conn, err := grpc.DialContext(ctx, address, options...)
|
||||||
|
Loading…
Reference in New Issue
Block a user