increase pingTimeout and bufferSize (#16)

This commit is contained in:
Mihaela Dumitru 2024-02-22 13:07:43 +02:00 committed by GitHub
parent cdcaebafe3
commit 1cdacb9d80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,8 +39,8 @@ const io = socketIO(server, {
res.writeHead(200, headers);
res.end();
},
maxHttpBufferSize: 10e6,
pingTimeout: 10000
maxHttpBufferSize: 20e6,
pingTimeout: 60000
});
// listens on host:9090/metrics