jsfiddle / togetherjs

A service for your website that makes it surprisingly easy to collaborate in real-time.
https://togetherjs.com
Mozilla Public License 2.0
7.01k stars 849 forks source link

Add server-echo to client to keep connection alive #1089

Closed jbuck closed 9 years ago

jbuck commented 9 years ago

Heroku has an initial 30s request timeout which extends to a 55s rolling window request timeout. This patch will have the client periodically send data to the hub server, keeping the WebSocket connection alive.