We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8d4cf commit 21412aaCopy full SHA for 21412aa
packages/server/src/Server.ts
@@ -66,6 +66,8 @@ export class Server {
66
this.webSocketServer.on(
67
"connection",
68
async (incoming: WebSocket, request: IncomingMessage) => {
69
+ incoming.setMaxListeners(Number.POSITIVE_INFINITY);
70
+
71
incoming.on("error", (error) => {
72
/**
73
* Handle a ws instance error, which is required to prevent
0 commit comments