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

πŸ› Cap timeout values to 0x7fff_ffff #3892

Merged
merged 2 commits into from
May 19, 2023
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented May 19, 2023

Above that value setTimeout goes crazy and immediately resolves. For now we will cap values which is already better than falling onto 0.

0x7fff_ffff ms corresponds to 24+ days.

Category:

  • ✨ Introduce new features
  • πŸ“ Add or update documentation
  • βœ… Add or update tests
  • πŸ› Fix a bug
  • 🏷️ Add or update types
  • ⚑️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

Sorry, something went wrong.

dubzzz added 2 commits May 19, 2023 15:18
Above that value `setTimeout` goes crazy and immediately resolves. For now we will cap values which is already better than falling onto 0.

0x7fff_ffff ms corresponds to 24+ days.
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit db18a37:

Sandbox Source
Vanilla Configuration

@dubzzz dubzzz merged commit e889886 into main May 19, 2023
@dubzzz dubzzz deleted the default-to-valid-timeout branch May 19, 2023 15:42
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

1 participant