set dial timeout in stream
This commit is contained in:
parent
e080ecb43a
commit
d9b3b17582
@ -189,6 +189,7 @@ func (g *grpcClient) stream(ctx context.Context, node *registry.Node, req client
|
||||
|
||||
grpcDialOptions := []grpc.DialOption{
|
||||
grpc.WithDefaultCallOptions(grpc.ForceCodec(wc)),
|
||||
grpc.WithTimeout(opts.DialTimeout),
|
||||
g.secure(),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user