diff --git a/src/crons/websocket/connection.handler.ts b/src/crons/websocket/connection.handler.ts index ae1f74a08..b5c5f23ee 100644 --- a/src/crons/websocket/connection.handler.ts +++ b/src/crons/websocket/connection.handler.ts @@ -15,7 +15,7 @@ export class ConnectionHandler implements OnGatewayDisconnect, OnGatewayConnecti handleDisconnect(_client: Socket) { } handleConnection(client: Socket, ..._args: any[]) { - client.setMaxListeners(16); + client.setMaxListeners(20); } hasSubscriptionsWithPrefixes(prefixes: string[]): boolean {