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

Allow passing additional options directly to GRPC clients #139

Merged
merged 1 commit into from
May 10, 2023

Conversation

fxposter
Copy link
Contributor

This can be useful, for example, to configure max message size, which is now possible via

Etcdv3::Connection.new('http://localhost:2379', 10, nil, :client_options => { :channel_args => { GRPC::Core::Channel::MAX_MESSAGE_LENGTH => 16*1024*1024 } })

This can be useful, for example, to configure max message size, which is now possible via
```
Etcdv3::Connection.new('http://localhost:2379', 10, nil, :client_options => { :channel_args => { GRPC::Core::Channel::MAX_MESSAGE_LENGTH => 16*1024*1024 } })
```
@t0ch1k
Copy link

t0ch1k commented May 10, 2023

Does anybody maintain this repo? Merging this PR will solve my problem with etcd, for now I need either to monkeypatch it or use my own gem :(

@fxposter
Copy link
Contributor Author

@davissp14 ?

@davissp14
Copy link
Owner

Sorry I missed this. I'll take a look.

@davissp14 davissp14 merged commit b946b42 into davissp14:master May 10, 2023
@davissp14
Copy link
Owner

Cut a new release to include these changes.

t0ch1k added a commit to t0ch1k/etcdv3-ruby that referenced this pull request Nov 19, 2023
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 this pull request may close these issues.

3 participants