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

Negative maxTimeoutSeconds #869

Merged
merged 1 commit into from
May 6, 2022

Conversation

zhdkirill
Copy link
Contributor

@zhdkirill zhdkirill commented Jan 25, 2022

Setting a small timeout value in a scraper (Prometheus) without changing the default offset leads to negative timeout values.
Fixes #868

Signed-off-by: Kirill Zhdanov kzhdanov@mirantis.com

Fixes prometheus#868

Signed-off-by: Kirill Zhdanov <kzhdanov@mirantis.com>
Copy link
Contributor

@mem mem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the delay, I missed this PR among a whole bunch of other stuff!

Thanks for the fix!

@electron0zero electron0zero merged commit 114351f into prometheus:master May 6, 2022
@electron0zero
Copy link
Member

@zhdkirill thank you for your contribution.

@zhdkirill zhdkirill deleted the maxTimeoutSeconds branch May 6, 2022 13:21
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.

Negative maxTimeoutSeconds
3 participants