client online state

This commit is contained in:
manuel.sowada
2026-05-12 07:57:32 +02:00
parent b34f912857
commit 0a28a3e493
17 changed files with 1210 additions and 788 deletions

View File

@@ -57,7 +57,8 @@ const server = https.createServer(httpsOptions, app);
const io = new Server(server, {
pingTimeout: 60000,
pingInterval: 1000, // alle 25s Ping senden
pingTimeout: 200, // 20s ohne Pong => disconnect
maxHttpBufferSize: 1e8, // 100 MB
});