Updated the disconnection duration
This commit is contained in:
parent
961517684d
commit
5c57bb09ee
@ -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 = {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user