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.
I changed ./src/socket.io/index.js about line 60,added pingInterval and pingTimeout.
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;
@PitaJ WOW thanks. Didn't think about that.I'm new with node.js.
@Naluebet-Manpati your site name would usually go there. You can set it in the ACP
Please open an issue on our github tracker.
Can any one tell me how to get call notifications using socket.io from angular or nodejs app
I had a similar issue.
But the origin of the trouble seems to be the Nginx cache.
@prog At current, no. Our servers are based in a New York datacenter, but we do not use CDN for global delivery of assets like the client js and css.