]> git.cworth.org Git - lmno-server/commit
Send a comment to every connected client every 15 seconds
authorCarl Worth <cworth@cworth.org>
Sun, 10 May 2020 15:40:14 +0000 (08:40 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 10 May 2020 15:40:14 +0000 (08:40 -0700)
commit0d23b6be462bcdbad9e20b35d78580e78bd7f4ea
treeb25cb52217f2f5e1418fb3550b4c4221ecf9407e
parenta2173a80f7c55b1c6d1fedb9c4afdf77e7cc8e37
Send a comment to every connected client every 15 seconds

This prevents timeouts when the client receives nothing from the
server. For example, firefox appeares to give up on the server when it
receives nothing for two minutes.
server.js