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

Expose grpc client connect timeout config and default to 5s #6523

Merged

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jan 19, 2025

What this PR does:

Make gRPC client connection timeout configurable. By default the value is 20s, which means if a target is unreachable like during a deployment, client side needs to wait for 20s to retry. This PR changes the connection timeout to 5s.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: yeya24 <[email protected]>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 20, 2025
@alanprot alanprot merged commit 08245d4 into cortexproject:master Jan 20, 2025
17 checks passed
@yeya24 yeya24 deleted the expose-grpc-client-connection-timeout branch January 20, 2025 23:44
alexqyle pushed a commit to alexqyle/cortex that referenced this pull request Jan 31, 2025
…oject#6523)

* expose grpc client connect timeout config

Signed-off-by: yeya24 <[email protected]>

* changelog

Signed-off-by: yeya24 <[email protected]>

---------

Signed-off-by: yeya24 <[email protected]>
Signed-off-by: Alex Le <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants