mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
half ping timeout
This commit is contained in:
@@ -36,6 +36,7 @@ Sockets.init = function(server) {
|
|||||||
io.on('connection', onConnection);
|
io.on('connection', onConnection);
|
||||||
|
|
||||||
io.listen(server, {
|
io.listen(server, {
|
||||||
|
pingTimeout: 30,
|
||||||
transports: ['websocket', 'polling']
|
transports: ['websocket', 'polling']
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user