socketio: increase socketio limit to 1MiB
parent
fcd9adf20d
commit
55c96e5577
|
@ -56,7 +56,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
||||||
* https://github.com/socketio/socket.io/issues/2276#issuecomment-147184662 (not totally true, actually, see above)
|
* https://github.com/socketio/socket.io/issues/2276#issuecomment-147184662 (not totally true, actually, see above)
|
||||||
*/
|
*/
|
||||||
cookie: false,
|
cookie: false,
|
||||||
maxHttpBufferSize: 10E3,
|
maxHttpBufferSize: 1 << 20, // 1MiB
|
||||||
});
|
});
|
||||||
|
|
||||||
io.use((socket, next) => {
|
io.use((socket, next) => {
|
||||||
|
|
Loading…
Reference in New Issue