From dad5be267034368dc5fbf97fd7af034b5938fdb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 14 Nov 2022 16:42:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=A9=E7=9F=AD=E8=8A=82=E7=82=B9=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=A5=E5=BF=97=E9=98=9F=E5=88=97=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/remotelogs/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/remotelogs/utils.go b/internal/remotelogs/utils.go index 09b20032..dadbcd31 100644 --- a/internal/remotelogs/utils.go +++ b/internal/remotelogs/utils.go @@ -12,7 +12,7 @@ import ( "time" ) -var logChan = make(chan *pb.NodeLog, 1024) +var logChan = make(chan *pb.NodeLog, 64) // 队列数量不需要太长,因为日志通常仅仅为调试用 var sharedDAO DAOInterface func init() {