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

Fix infinite milliseconds #38

Merged
merged 2 commits into from Jun 12, 2023

Conversation

ronami
Copy link
Contributor

@ronami ronami commented Jun 12, 2023

Summary

This PR fixes an issue where passing an abort signal is completely ignored if milliseconds has been passed as Number.POSITIVE_INFINITY.

This is especially relevant when using p-wait-for, which passes this by default.

@ronami
Copy link
Contributor Author

ronami commented Jun 12, 2023

The main branch is currently red on what seems like an unrelated issue, see #37.

@ronami ronami force-pushed the fix-infinite-milliseconds branch from a79983b to 0839f24 Compare June 12, 2023 14:11
@sindresorhus sindresorhus merged commit 9260b09 into sindresorhus:main Jun 12, 2023
2 checks passed
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.

None yet

2 participants