Node multipleResolves warning is firing on connect #76
Closed
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:
- Register the multipleResolves handler
process.on('multipleResolves', (type, promise, reason) => {
console.error('Node<multipleResolves>', { type, reason });
});
- Connect to a db
- 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.