wechaty / grpc

gRPC Service & Protocol Buffers for Wechaty Puppet
https://wechaty.github.io/grpc/
Apache License 2.0
25 stars 22 forks source link

Scala: gRPC message exceeds maximum size #71

Closed jcai closed 4 years ago

jcai commented 4 years ago

RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304: 5118829.

We should increase the maximum size ?

huan commented 4 years ago

This issue has been discussed before and solved at: https://github.com/wechaty/wechaty-puppet-hostie/issues/41

Please let me know if you have any questions after read the above link, thanks!

jcai commented 4 years ago

Thank you very much.I found how to increase the value.

maxInboundMessageSize(1024 * 1024 * 150)

huan commented 4 years ago

You are welcome!

Very glad to know that you have found a way to solve it.