Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: re-use same http transport in grpc proxy to avoid goroutine leak #6444

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Jun 9, 2021

Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com

Closes #6026

PR changes grpc proxy so that it uses the same http client and stop leaking goroutins. Thanks to @uturunku1 for implementing this change!

@alexmt alexmt requested a review from mayzhang2000 June 9, 2021 16:29
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #6444 (7648ca0) into master (1f9fc2c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6444   +/-   ##
=======================================
  Coverage   41.02%   41.02%           
=======================================
  Files         152      152           
  Lines       20131    20131           
=======================================
  Hits         8259     8259           
  Misses      10733    10733           
  Partials     1139     1139           
Impacted Files Coverage Δ
util/settings/settings.go 46.75% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f9fc2c...7648ca0. Read the comment docs.

Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexmt alexmt merged commit e865504 into argoproj:master Jun 9, 2021
@alexmt alexmt deleted the 6026-grpc-proxy-leak branch June 9, 2021 17:16
@jannfis jannfis added the needs-verification PR requires pre-release verification label Jun 25, 2021
@alexmt alexmt removed the needs-verification PR requires pre-release verification label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transport goroutine leak in the argo-cd apiclient
3 participants