mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
Increase ping timeout
This commit is contained in:
parent
76baec6b5d
commit
b5a4dcdb1f
@ -103,7 +103,7 @@ const protocol = (process.env.PROTOCOL || 'http') === 'http' ? http : https;
|
|||||||
const server = protocol.createServer(app.callback());
|
const server = protocol.createServer(app.callback());
|
||||||
const io = Io(server, {
|
const io = Io(server, {
|
||||||
pingInterval: 5000,
|
pingInterval: 5000,
|
||||||
pingTimeout: 3000
|
pingTimeout: 5000
|
||||||
});
|
});
|
||||||
io.adapter(socketRedis(process.env.REDIS_URL));
|
io.adapter(socketRedis(process.env.REDIS_URL));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user