We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
setTimeout eating CPU and cant fire if delay is non-whole number.
Can be easily reproduced even from node-cli:
setTimeout(()=>{console.log("timeout fired!")}, 880.0000000000001)
Working example:
setTimeout(()=>{console.log("timeout fired!")}, Math.round(880.0000000000001))
Possible related issue from past: nodejs/node-v0.x-archive#8065
Update: it working sometimes
The text was updated successfully, but these errors were encountered:
Possibly addressed by #24819?
cc @nodejs/timers
Sorry, something went wrong.
It was fixed in #24214 and just released in Node.js 11.4.0
No branches or pull requests
setTimeout eating CPU and cant fire if delay is non-whole number.
Can be easily reproduced even from node-cli:
Working example:
Possible related issue from past: nodejs/node-v0.x-archive#8065
Update: it working sometimes
The text was updated successfully, but these errors were encountered: