Skip to content

timers.enroll() is deprecated #2034

Closed
Closed
@muturgan

Description

@muturgan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy