diff --git a/src/index.ts b/src/index.ts index e9714dd..6977bfa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,7 +37,8 @@ const io = socketIO(server, { res.writeHead(200, headers); res.end(); }, - perMessageDeflate: true + perMessageDeflate: true, + maxHttpBufferSize: 1e8 }); // listens on host:9090/metrics