diff --git a/lib/topologies/topology_base.js b/lib/topologies/topology_base.js index 596d43620e..a5999b8e87 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