Skip to content

Commit

Permalink
remove GrpcConTextTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
eeliu committed Dec 6, 2024
1 parent c760a10 commit 3255e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector-agent/agent/GrpcAgent.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func (agent *GrpcAgent) collectorActiveThreadCount(conn *grpc.ClientConn, respon
defer wg.Done()

client := v1.NewProfilerCommandServiceClient(conn)
ctx, _ := common.BuildMdContextWithTimeout(agent.config.GrpcConTextTimeOut, agent.pingMd)
ctx, _ := common.BuildMdContextWithTimeout(-1, agent.pingMd)

stream_client, err := client.CommandStreamActiveThreadCount(ctx)
if err != nil {
Expand Down

0 comments on commit 3255e44

Please sign in to comment.