summaryrefslogtreecommitdiff
path: root/ui/lib/retry.js
Commit message (Collapse)AuthorAge
* Naming improvements c/o KitOwen Jacobson2025-04-23
|
* When booting a session, retry every five seconds if unable to send the request.Owen Jacobson2025-04-22
This is intended to transparently resume the session (using `boot` to start over) after more serious connection interruptions. It interacts with the heartbeat timeout: we let the browser try to reconnect through `EventSource` on its own for up to 30 seconds, before intervening, closing the event source, and starting attempts to call `boot`. This covers both initial boot, which will now hang if the server is unavailable (sorry), and reconnection after an event timeout. No other operations are retried (particularly, sending a message is _not_ retried).