decrease max buffer size

This commit is contained in:
Mihaela Dumitru 2023-01-31 14:22:47 +02:00
parent f60385072d
commit 6ce4f8ff2f

View file

@ -38,7 +38,7 @@ const io = socketIO(server, {
res.end(); res.end();
}, },
perMessageDeflate: true, perMessageDeflate: true,
maxHttpBufferSize: 1e8 maxHttpBufferSize: 5e6
}); });
// listens on host:9090/metrics // listens on host:9090/metrics