mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
fix: worker crash on large payloads
This commit is contained in:
parent
7f0d66d75c
commit
cf2adac68d
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user