Updated the disconnection duration

This commit is contained in:
2024-05-13 07:12:34 +02:00
parent 961517684d
commit 5c57bb09ee

View File

@ -1,6 +1,6 @@
const httpServer = require("http").createServer();
const io = require("socket.io")(httpServer, {cors: {origin: "*", connectionStateRecovery: {
maxDisconnectionDuration: 1000}}});
maxDisconnectionDuration: 60000}}});
const rooms = {};