-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.10.0
-
Component/s: Connectivity
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
2
-
Not Needed
-
Iteration Dreadnoughtus
$ mongosh --quiet --eval 'for (let i = 0; i < 10; i++) db.getMongo().setReadPref("secondary")'
(node:21678) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 mongodb-oidc-plugin:auth-failed listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit