Skip to content

Commit 3255e44

Browse files
committed
remove GrpcConTextTimeout
1 parent c760a10 commit 3255e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector-agent/agent/GrpcAgent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func (agent *GrpcAgent) collectorActiveThreadCount(conn *grpc.ClientConn, respon
403403
defer wg.Done()
404404

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

408408
stream_client, err := client.CommandStreamActiveThreadCount(ctx)
409409
if err != nil {

0 commit comments

Comments
 (0)