Merge pull request #7268 from ctiller/smaller_max_message_size

Reduce default max message size
pull/7289/head
Nicolas Noble 9 years ago committed by GitHub
commit cf9742f16b
  1. 2
      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);

Loading…
Cancel
Save