diff options
| author | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-16 13:03:51 -0400 |
|---|---|---|
| committer | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-16 13:03:51 -0400 |
| commit | ea567819d835d4704d9fb38cd114e0e5b231759e (patch) | |
| tree | b0169202354482907dd95e51fcc94018d9e4e491 /scripts | |
| parent | fcae5b188baa1bdfed48208d7cfc2b711af4aae3 (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
