diff --git a/internal/remotelogs/utils.go b/internal/remotelogs/utils.go index 32abc52..ba329d9 100644 --- a/internal/remotelogs/utils.go +++ b/internal/remotelogs/utils.go @@ -17,7 +17,7 @@ import ( "time" ) -var logChan = make(chan *pb.NodeLog, 1024) +var logChan = make(chan *pb.NodeLog, 64) // 队列数量不需要太长,因为日志通常仅仅为调试用 func init() { // 定期上传日志