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

timers.enroll() is deprecated #2034

Closed
muturgan opened this issue May 31, 2018 · 2 comments
Closed

timers.enroll() is deprecated #2034

muturgan opened this issue May 31, 2018 · 2 comments

Comments

@muturgan
Copy link

windows
node 10.1.0
mysql 2.15.0 (or 2.14.1 in promise-mysql)

The first (and only the first) querry to database lead to sequential messages in console:
(node:xxx) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.
(node:xxx) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.

After it i got my result from database.
It's not a probleb, but in 1% of trying it leads to crashing server.

I didn't think to copy error message that time.

@ghost
Copy link

ghost commented May 31, 2018

Duplicate of #2003 ?

@muturgan
Copy link
Author

absolutely!

dougwilson pushed a commit that referenced this issue Jun 21, 2018
fixes #2003
fixes #2024
closes #2026
fixes #2034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants