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

liuhan pushed a commit to branch reduce-handle-connect-time
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/reduce-handle-connect-time by 
this push:
     new 9d9e0cd  trying to remove watching
9d9e0cd is described below

commit 9d9e0cd440c0112034b1b438f468e5d9ca35117f
Author: mrproliu <[email protected]>
AuthorDate: Sat Dec 28 21:21:48 2024 +0800

    trying to remove watching
---
 pkg/accesslog/common/connection.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pkg/accesslog/common/connection.go 
b/pkg/accesslog/common/connection.go
index ca185ff..be9241b 100644
--- a/pkg/accesslog/common/connection.go
+++ b/pkg/accesslog/common/connection.go
@@ -182,12 +182,12 @@ func NewConnectionManager(config *Config, moduleMgr 
*module.Manager, bpfLoader *
 func (c *ConnectionManager) Start(ctx context.Context, accessLogContext 
*AccessLogContext) {
        c.processOP.AddListener(c)
 
-       if c.ConnectTracker != nil {
-               err := c.ConnectTracker.StartMonitoring(ctx)
-               if err != nil {
-                       log.Warnf("cannot start the connection tracker 
monitoring, %v", err)
-               }
-       }
+       //if c.ConnectTracker != nil {
+       //      err := c.ConnectTracker.StartMonitoring(ctx)
+       //      if err != nil {
+       //              log.Warnf("cannot start the connection tracker 
monitoring, %v", err)
+       //      }
+       //}
 
        // starting to clean up the un-active connection in BPF
        go func() {

Reply via email to