This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 07da881  Fix stack overflow as endless logs triggered (#164)
07da881 is described below

commit 07da881b95fc5da40c25a049628ad0ff9f6cf56d
Author: vearne <asdwoshiaot...@gmail.com>
AuthorDate: Thu Jan 25 15:44:34 2024 +0800

    Fix stack overflow as endless logs triggered (#164)
    
    Fix https://github.com/apache/skywalking/issues/11832
---
 plugins/core/reporter/grpc/grpc.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/core/reporter/grpc/grpc.go 
b/plugins/core/reporter/grpc/grpc.go
index a4177f4..adbf0a4 100644
--- a/plugins/core/reporter/grpc/grpc.go
+++ b/plugins/core/reporter/grpc/grpc.go
@@ -259,7 +259,6 @@ func (r *gRPCReporter) SendLog(log *logv3.LogData) {
        select {
        case r.logSendCh <- log:
        default:
-               r.logger.Errorf("reach max logger send buffer")
        }
 }
 
@@ -298,7 +297,7 @@ func (r *gRPCReporter) closeGRPCConn() {
        }
 }
 
-//nolint
+// nolint
 func (r *gRPCReporter) initSendPipeline() {
        if r.traceClient == nil {
                return

Reply via email to