davissp14 / etcdv3-ruby

Etcd v3 Ruby Client
MIT License
52 stars 17 forks source link

Allow passing additional options directly to GRPC clients #139

Closed fxposter closed 1 year ago

fxposter commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@davissp14 ?

davissp14 commented 1 year ago

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

davissp14 commented 1 year ago

Cut a new release to include these changes.