From ef6de3e1227f33b9a24f4688667afb28930d6a2e Mon Sep 17 00:00:00 2001 From: xige-16 Date: Thu, 21 Oct 2021 10:53:09 +0800 Subject: [PATCH] Comment MaxSendSizeToEtcd (#10165) Signed-off-by: xige-16 --- internal/querycoord/task.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/querycoord/task.go b/internal/querycoord/task.go index 81be05fc0b..dc36ae588e 100644 --- a/internal/querycoord/task.go +++ b/internal/querycoord/task.go @@ -43,6 +43,8 @@ const ( const ( // MaxRetryNum is the maximum number of times that each task can be retried MaxRetryNum = 5 + // MaxSendSizeToEtcd is the default limit size of etcd messages that can be sent and received + MaxSendSizeToEtcd = 2097152 ) type taskState int