Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify grpc ChannelOptions #137

Closed
logidelic opened this issue Apr 17, 2023 · 1 comment · Fixed by #144
Closed

How to specify grpc ChannelOptions #137

logidelic opened this issue Apr 17, 2023 · 1 comment · Fixed by #144

Comments

@logidelic
Copy link

Hello!

While using milvus-sdk-node, I'm frequently running into the grpc issue mentioned here.

It looks like there's a workaround to the problem by overriding the default grpc channelOptions. Are these somehow exposed by the Milvus SDK?

Thank you!

@shanghaikid
Copy link
Contributor

Hello!

While using milvus-sdk-node, I'm frequently running into the grpc issue mentioned here.

It looks like there's a workaround to the problem by overriding the default grpc channelOptions. Are these somehow exposed by the Milvus SDK?

Thank you!

We haven't exposed this in the release.

Here is the code,

'grpc.max_receive_message_length': -1, // set max_receive_message_length to unlimited

And also I think the params of the client constructor should be an object other than 4 parameters. We will do it in the next release.

If you would like to contribute to this, that will be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants