aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-24 22:57:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-26 07:55:38 -0700
commit017b452b7b1256cbaa0ef3cb11f363b51ff1e7c5 (patch)
treef0321416ba0e414bd1f7025ab0b06ff97ba46dd4 /include/grpc++/impl
parentb864e7c41c6d0363e23093fb090625f260994962 (diff)
Use larger block size in proto write
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r--include/grpc++/impl/codegen/proto_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/proto_utils.h b/include/grpc++/impl/codegen/proto_utils.h
index 6df9de4fd2..8c0c32bfc5 100644
--- a/include/grpc++/impl/codegen/proto_utils.h
+++ b/include/grpc++/impl/codegen/proto_utils.h
@@ -52,7 +52,7 @@ namespace internal {
class GrpcBufferWriterPeer;
-const int kGrpcBufferWriterMaxBufferLength = 8192;
+const int kGrpcBufferWriterMaxBufferLength = 1024 * 1024;
class GrpcBufferWriter final
: public ::grpc::protobuf::io::ZeroCopyOutputStream {