client-rust
client-rust copied to clipboard
gRPC error: RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (4563651 vs. 4194304)
Is there a way to solve this problem?
https://github.com/tikv/grpc-rs/issues/602
set it to -1(unlimit) can fix this issue, If you are ok with this fix I can create a PR, @ekexium
let cb = ChannelBuilder::new(env)
.keepalive_time(Duration::from_secs(10))
.keepalive_timeout(Duration::from_secs(3))
.max_receive_message_len(-1)
.use_local_subchannel_pool(true);