@JJSagan Too Thanks ☺
Solved Changing socket.io heartbeat interval and timeout
How can I change socket.io's "heartbeat interval" and "heartbeat timeout"?
Or how can I manually send a heartbeat pack?
I can make a plugin, but no idea how to do it right now.
Solved in a dirty way.
./src/socket.io/index.jsabout line 60,added
I was expecting to change this by a plugin, not edit Nodebb's code directly.(seems not possible)
@Genteure I think you can do it with a plugin. In the init hook, you should be able to
var io = require.main.require('./src/socket.io').server; io.set('option', 'value');
@PitaJ WOW thanks. Didn't think about that.I'm new with node.js.