From c2f2be4a245d2bae8fa2032a9abe2ba5d5c63b45 Mon Sep 17 00:00:00 2001 From: 5kbpers Date: Fri, 21 May 2021 16:42:21 +0800 Subject: [PATCH] config-template: add `server.max-grpc-send-msg-len` to template (#10181) * config-template: add `server.max-grpc_send_msg_len` to template Signed-off-by: 5kbpers * address comments Signed-off-by: 5kbpers Co-authored-by: qupeng --- etc/config-template.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/config-template.toml b/etc/config-template.toml index 6b24544ed6f..5463a70e0b4 100644 --- a/etc/config-template.toml +++ b/etc/config-template.toml @@ -152,6 +152,9 @@ ## Time to wait before closing the connection without receiving KeepAlive ping Ack. # grpc-keepalive-timeout = "3s" +## Set maximum message length in bytes that gRPC can send. `-1` means unlimited. +# max-grpc-send-msg-len = 10485760 + ## How many snapshots can be sent concurrently. # concurrent-send-snap-limit = 32