Skip to content

Commit

Permalink
Fix 706 timeout (#707)
Browse files Browse the repository at this point in the history
* remove 	GrpcConTextTimeout

* update collector version id
  • Loading branch information
eeliu authored Dec 9, 2024
1 parent c760a10 commit 1bee26b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-collector-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

env:
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}/collector-agent
TAG_NAME: 0.7
TAG_NAME: 0.7.1

jobs:
collector-agent: # reference from https://docs.docker.com/build/ci/github-actions/multi-platform/
Expand Down
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
2 changes: 1 addition & 1 deletion collector-agent/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

TAG ?=v0.7
TAG ?=0.7.1

.PHONY: default
default: server ;
Expand Down

0 comments on commit 1bee26b

Please sign in to comment.