]> git.cworth.org Git - lmno.games/commit
Add a new ReconnectingEventSource, and use it in all cames
authorCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 01:43:34 +0000 (21:43 -0400)
committerCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 01:43:34 +0000 (21:43 -0400)
commitb70775c9df14de0a30338984569a7a01f2611409
treebf6250254765f76cb09e9575f657f263f072d184
parent70f99f5fdb575078f1aaac7913ea0ade3f13f3f4
Add a new ReconnectingEventSource, and use it in all cames

This wrapper for EventSource will attempt to reconnect after a lost
connection (up to 5 times with a 2-second delay between each attempt).

With this in place, a quick server restart (< 10 seconds) should be
unnoticed by clients.
anagrams/anagrams.jsx
empathy/empathy.jsx
empires/game.js
letterrip/letterrip.jsx
lmno.js
scribe/scribe.jsx
tictactoe/tictactoe.jsx