Skip to content

Node multipleResolves warning is firing on connect #76

Closed
@murrayju

Description

Describe the bug
The node warning event multipleResolves is being triggered shortly after connecting via r.connectPool().

To Reproduce
Steps to reproduce the behavior:

  1. Register the multipleResolves handler
  process.on('multipleResolves', (type, promise, reason) => {
    console.error('Node<multipleResolves>', { type, reason });
  });
  1. Connect to a db
  2. Wait about 20 seconds

Expected behavior
The multipleResolves handler should not be triggered.

System info

  • OS: macOS, docker (node:14 base)... likekly not os specific
  • RethinkDB Version: 2.4.1

Additional context
This was introduced in 2.4.6 (did not happen in 2.4.5) and is still present in 2.4.8.

Metadata

Assignees

Labels

invalidThis doesn't seem rightquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions