Skip to content

Use timeout value from config for http client#993

Merged
aphralG merged 3 commits intov3from
use-client-timeout-from-config
Mar 3, 2025
Merged

Use timeout value from config for http client#993
aphralG merged 3 commits intov3from
use-client-timeout-from-config

Conversation

@aphralG
Copy link
Contributor

@aphralG aphralG commented Feb 20, 2025

Proposed changes

Updated httpClients to use the timeout value from the agent config.
Also updated config parser to use default http client when pinging the api

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@aphralG aphralG self-assigned this Feb 20, 2025
@aphralG aphralG requested a review from a team as a code owner February 20, 2025 15:57
@github-actions github-actions bot added the chore Pull requests for routine tasks label Feb 20, 2025
@aphralG aphralG merged commit dd572a2 into v3 Mar 3, 2025
20 checks passed
@aphralG aphralG deleted the use-client-timeout-from-config branch March 3, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants