From 3036b7d73141d5691b3ff522614df4c7f291d210 Mon Sep 17 00:00:00 2001 From: Mihaela Dumitru Date: Tue, 31 Jan 2023 16:45:48 +0200 Subject: [PATCH] increase ping timeout --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cf76db4..59f4cb6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,8 @@ const io = socketIO(server, { res.end(); }, perMessageDeflate: true, - maxHttpBufferSize: 5e6 + maxHttpBufferSize: 5e6, + pingTimeout: 10000 }); // listens on host:9090/metrics