From d9fb750c1a8d74dcf6181d0dab5582932cf80017 Mon Sep 17 00:00:00 2001 From: Tuomo Jokimies Date: Thu, 18 Jan 2018 22:53:20 +0200 Subject: [PATCH] fix(topology base): allow more than 10 event listeners (#1630) --- lib/topologies/topology_base.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/topologies/topology_base.js b/lib/topologies/topology_base.js index 596d43620e2..a5999b8e87d 100644 --- a/lib/topologies/topology_base.js +++ b/lib/topologies/topology_base.js @@ -280,6 +280,8 @@ class TopologyBase extends EventEmitter { }, platform: nodejsversion }; + + this.setMaxListeners(Infinity); } // Sessions related methods