pub fn buffer_size(self, sz: impl Into<Option<usize>>) -> Self {
        Endpoint {
            buffer_size: sz.into(),
            ..self
        }
    }
Sets the tower service default internal buffer size

Default is 1024
tonic/src/transport/channel/endpoint.rs