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

nri-http: fix timeout value in microseconds #114

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

waj
Copy link
Member

@waj waj commented Oct 1, 2024

According nri-http docs, the timeout value should be specified in microseconds. However this value is being multiplied by 1000 before passed to http-client library which also expects the value to be in microseconds.

Effectively we already use this value throughout our codebase as microseconds, so it makes sense to fix the code and not the docs.

@nyghtly-derek nyghtly-derek mentioned this pull request Oct 1, 2024
@michaelglass
Copy link
Contributor

@waj @zwilias & I simplified CI. If you rebase on trunk it should pass now

@zwilias zwilias merged commit 85b84bf into trunk Oct 21, 2024
1 of 2 checks passed
@zwilias zwilias deleted the nri-http-fix-timeout-in-microseconds branch October 21, 2024 09:55
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.

3 participants