Commit 1b9164a6 authored by Vikram Ingawale's avatar Vikram Ingawale
Browse files

GRPC : connection timeout issue fix added

parent 27b7491b
Branches
Tags
2 merge requests!180Mep release 07042020,!176GRPC : connection timeout issue fix added
Showing with 1 addition and 0 deletions
......@@ -49,6 +49,7 @@ func ByteHandler(req *grpcbuildermdl.GRPCRequest, grpcServerURL string) ([]byte,
loggermdl.LogError("Failed to create gRPC pool: %v", err)
return nil, 0, "", err
}
defer conn.Close()
client := grpcbuildermdl.NewGRPCServiceClient(conn.ClientConn)
res, err := client.GRPCHandler(context.Background(), req)
if err != nil {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment