Skip to content

fix: pushgateway reject with timeout#574

Merged
SimenB merged 4 commits intosiimon:masterfrom
FLNacif:fix-pushgateway-timeout
Oct 9, 2023
Merged

fix: pushgateway reject with timeout#574
SimenB merged 4 commits intosiimon:masterfrom
FLNacif:fix-pushgateway-timeout

Conversation

@FLNacif
Copy link
Copy Markdown
Contributor

@FLNacif FLNacif commented Jun 6, 2023

As explained in README.md the timeout option should timeout the request but it is not doing it.

It was missing listen to the timeout event from node HTTP and rejecting the promise (destroying the request).

Copy link
Copy Markdown
Collaborator

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

thanks!

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