chore: set ws max payload to 128kb

This commit is contained in:
Ricardo Arturo Cabral Mejía 2022-12-22 23:25:09 -05:00
parent 28117aee5b
commit 7f0d66d75c

View File

@ -17,7 +17,7 @@ export const workerFactory = (): AppWorker => {
const server = http.createServer()
const webSocketServer = new WebSocketServer({
server,
maxPayload: 102400, // 0.1 MB
maxPayload: 131072, // 0.1 MB
})
const adapter = new WebSocketServerAdapter(
server,