aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-07-08 13:32:47 -0700
committerGravatar GitHub <noreply@github.com>2016-07-08 13:32:47 -0700
commitcf9742f16b8f1c6abb5aab9095bf3b642e311f62 (patch)
treeba3aedeeb49d4c83a3c8793dc9008967cebd3c90 /src
parent887737945bd55f91118fee72d5588c828f6fb8f6 (diff)
parent7e9cff9ea504db536192db1531b108713ecd8a7b (diff)
Merge pull request #7268 from ctiller/smaller_max_message_size
Reduce default max message size
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/surface/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/channel.c b/src/core/lib/surface/channel.c
index 2cf6d8890a..6d2b1c4935 100644
--- a/src/core/lib/surface/channel.c
+++ b/src/core/lib/surface/channel.c
@@ -81,7 +81,7 @@ struct grpc_channel {
CHANNEL_FROM_CHANNEL_STACK(grpc_channel_stack_from_top_element(top_elem))
/* the protobuf library will (by default) start warning at 100megs */
-#define DEFAULT_MAX_MESSAGE_LENGTH (100 * 1024 * 1024)
+#define DEFAULT_MAX_MESSAGE_LENGTH (4 * 1024 * 1024)
static void destroy_channel(grpc_exec_ctx *exec_ctx, void *arg,
grpc_error *error);