Updated the disconnection duration
This commit is contained in:
@@ -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 = {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user