From 6ce4f8ff2f9cb60ae3dec5e91bb70e9a6b0f58f1 Mon Sep 17 00:00:00 2001 From: Mihaela Dumitru Date: Tue, 31 Jan 2023 14:22:47 +0200 Subject: [PATCH] decrease max buffer size --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6977bfa..cf76db4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,7 @@ const io = socketIO(server, { res.end(); }, perMessageDeflate: true, - maxHttpBufferSize: 1e8 + maxHttpBufferSize: 5e6 }); // listens on host:9090/metrics