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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

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
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