node-multi-socketservers
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -75,4 +75,14 @@ "use strict"; | ||
if ("function" === typeof server.sockets.setMaxListeners) { | ||
server.sockets.setMaxListeners(0); | ||
} | ||
server.sockets.on("connection", (socket) => { | ||
if ("function" === typeof socket.setMaxListeners) { | ||
socket.setMaxListeners(0); | ||
} | ||
eventListener(socket, server); | ||
}); | ||
@@ -79,0 +89,0 @@ |
{ | ||
"name": "node-multi-socketservers", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A multi http & socket servers manager, based on node-multi-webserver", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22326
552