Updated the disconnection duration

This commit is contained in:
Mathias committed 2024-05-13 07:12:34 +02:00
1 parent 961517684d
commit 5c57bb09ee
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
const httpServer = require("http").createServer(); const httpServer = require("http").createServer();
const io = require("socket.io")(httpServer, {cors: {origin: "*", connectionStateRecovery: { const io = require("socket.io")(httpServer, {cors: {origin: "*", connectionStateRecovery: {
maxDisconnectionDuration: 1000}}}); maxDisconnectionDuration: 60000}}});
const rooms = {}; const rooms = {};