aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTianren Dong <tianrendong.dtr@gmail.com>2026-05-16 13:03:51 -0400
committerTianren Dong <tianrendong.dtr@gmail.com>2026-05-16 13:03:51 -0400
commitea567819d835d4704d9fb38cd114e0e5b231759e (patch)
treeb0169202354482907dd95e51fcc94018d9e4e491 /scripts
parentfcae5b188baa1bdfed48208d7cfc2b711af4aae3 (diff)
0.17.3: daemon self-heal on missing-daemon fetch failure
In 0.17.x the daemon is a separate process that can idle-shut-down (10 min idle) or be killed externally while Pi sessions are running. Without self-heal, the next /chrome onboard or chrome_* call surfaces 'fetch failed' instead of recovering. bridge.admin() now catches the failed fetch, re-runs ensureDaemonRunning (probe -> spawn if missing), and retries once. bridge.sendViaOwner() pre-probes /status and spawns the daemon if missing before issuing the signed /command. Net effect: a missing daemon transparently respawns instead of bubbling fetch failed up to the user.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions