From f60385072d012aea38845b091e25cf123966bd2e Mon Sep 17 00:00:00 2001 From: Mihaela Dumitru Date: Tue, 31 Jan 2023 12:49:39 +0200 Subject: [PATCH] increase max buffer size --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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