Skip to content

timers: fix setTimeout expiration logic - #24214

Closed
suguru03 wants to merge 1 commit into
nodejs:masterfrom
suguru03:fix-timer
Closed

suguru03 wants to merge 1 commit into
nodejs:masterfrom
suguru03:fix-timer

Conversation

@suguru03

@suguru03 suguru03 commented Nov 7, 2018

Copy link
Copy Markdown
Contributor

I fixed the setTimeout issue.
I changed the logic to be the same logic as v10.30.0 following the lines. https://github.com/nodejs/node/blob/v10.13.0/lib/timers.js#L240-L243

Fixes: #24203

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. timers Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setTimeout is not working properly with non-integer in Node 11

10 participants