mirror of
https://github.com/Cameri/nostream.git
synced 2025-08-02 18:52:14 +02:00
fix: worker crash on large payloads
This commit is contained in:
@@ -48,6 +48,9 @@ export class WebSocketAdapter extends EventEmitter implements IWebSocketAdapter
|
||||
.on('message', this.onClientMessage.bind(this))
|
||||
.on('close', this.onClientClose.bind(this))
|
||||
.on('pong', this.onClientPong.bind(this))
|
||||
.on('error', (error) => {
|
||||
debug('error', error)
|
||||
})
|
||||
|
||||
this
|
||||
.on(WebSocketAdapterEvent.Heartbeat, this.onHeartbeat.bind(this))
|
||||
|
Reference in New Issue
Block a user