]> git.cworth.org Git - empires-server/commit
Move the keepalive functionality from Empires up to Game
authorCarl Worth <cworth@cworth.org>
Thu, 4 Jun 2020 01:06:39 +0000 (18:06 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 4 Jun 2020 01:06:39 +0000 (18:06 -0700)
commit731c54ef14f2fdc852961c7c2429117d4e7472d6
tree04e08e8d3fbbedb0c7d098684704fe9c2d87ea53
parent00507589b4984d50a34a383975fc6323db19bcfa
Move the keepalive functionality from Empires up to Game

Since TacTacToe, (and any future game), need this too.

This keepalive prevents Firefox (at least) from timing out on the
server-sent-events stream after the user is idle for two minutes.
empires.js
game.js