Closed yoshidan closed 1 year ago
https://github.com/hyperium/tonic/blob/1934825ff52bff26bb88b709aee9ac73d3ea51c0/tonic/src/codec/mod.rs#LL33C1-L34C57
const DEFAULT_MAX_RECV_MESSAGE_SIZE: usize = 4 * 1024 * 1024; const DEFAULT_MAX_SEND_MESSAGE_SIZE: usize = usize::MAX;
Since tonic 0.9.2 is restricted to a decode size of 4MB, change the limit to match google-cloud-go.
https://github.com/hyperium/tonic/blob/1934825ff52bff26bb88b709aee9ac73d3ea51c0/tonic/src/codec/mod.rs#LL33C1-L34C57
Since tonic 0.9.2 is restricted to a decode size of 4MB, change the limit to match google-cloud-go.