decrease buffer size

This commit is contained in:
Mihaela Dumitru 2023-02-15 15:17:33 +02:00
parent 95ad7392e6
commit 991990a3d4

View file

@ -37,7 +37,7 @@ const io = socketIO(server, {
res.writeHead(200, headers); res.writeHead(200, headers);
res.end(); res.end();
}, },
maxHttpBufferSize: 5e6, maxHttpBufferSize: 2e6,
pingTimeout: 10000 pingTimeout: 10000
}); });