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