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

add a timeout to the http client we use to call IT services #165

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

dagbay-rh
Copy link
Contributor

Summary

add a timeout to our http calls to IT subs and compliance services

Why

right now we do not set an explicit timeout, and the go http client defaults to no timeout if none provided

we do not want to give our http calls the opportunity to hang indefinitely, so we set the timeout with a default of 10s

@dagbay-rh dagbay-rh merged commit 6b65a2d into RedHatInsights:main Feb 9, 2024
4 checks passed
@dagbay-rh dagbay-rh deleted the add_it_services_timeout branch February 9, 2024 21:42
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.

2 participants