The socket.io documentation mentions that heartbeats can be disabled like so:
io.disable('heartbeats');
Unfortunately, while this seems to stop the hearbeats from being sent, the clients still disconnect when they are not sending hearbeats.
The following does not function either:
io.set('heartbeats', false);
I have tried setting some intervals to 0, without success:
io.set('heartbeat timeout', 0);
io.set('heartbeat interval', 0);
Any suggestions on what might properly disable heartbeats?