Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: use http client without timeout like we do in connectRPCVersion #17680

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

dannykopping
Copy link
Contributor

connectRPCVersion sets up a long-running websocket connection to the control plane.

The implementation doesn't use the SDK's standard mechanism for making requests to the control plane, and neither will our use of SSE for agent reinitialization, so we have followed this model.

The way the agent client is built in cli/agent.go makes it difficult to optionally set the HTTP timeout.

@dannykopping dannykopping requested a review from SasSwart May 5, 2025 14:43
@SasSwart SasSwart merged commit 38b4f0d into jjs/prebuilds-agent-reinit May 6, 2025
25 of 36 checks passed
@SasSwart SasSwart deleted the dk/fix-sse-client branch May 6, 2025 19:22
@github-actions github-actions bot locked and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants