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: Measure expiration times relative to module initialization #15357

Merged
merged 1 commit into from
Apr 9, 2019

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Apr 9, 2019

We use bitwise operations to compute expiration times, which means they need to be smaller than 31 bits. So we measure times relative to module initialization, similar to performance.now.

This was already working in the old fiber scheduler, but we didn't have a test for it.

We use bitwise operations to compute expiration times, which means they
need to be smaller than 31 bits. So we measure times relative to module
initialization, similar to `performance.now`.

This was already working in the old fiber scheduler, but we didn't have
a test for it.
@sebmarkbage sebmarkbage merged commit 183d1f4 into facebook:master Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants