Skip to content

Conversation

vtjl10
Copy link
Contributor

@vtjl10 vtjl10 commented Oct 15, 2025

  • Summary: Replace http.Get with a context-aware request (http.NewRequestWithContext + http.DefaultClient.Do) in daprovider/das/restful_client.go to honor cancellation and timeouts.
  • Behavior: HealthCheck now respects the provided Context; cancellation/deadline cleanly aborts the request. Response handling remains unchanged.
  • Rationale: Prevents potential hangs during shutdown or transient network issues; improves robustness and resource management.

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.

1 participant