diff options
| author | Luke Hoersten <[email protected]> | 2026-06-20 12:23:34 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-20 12:23:34 -0500 |
| commit | e75891e75dae80ff2de5b8c3d8a3b1a39bf97ffc (patch) | |
| tree | 2ff3c0d907d663548888517b2c314311e179e1b0 /TESTING.md | |
| parent | ff714de79c857ecd7855d6ee578679502c89dba1 (diff) | |
scrypted: settings page /state fetch — sequence + 3s timeout
Two reasons the Status (live) section was showing
"offline / unreachable (fetch failed)" intermittently:
1. /state and /config were fetched in parallel, eating both available
httpd sockets simultaneously (Phase 2 dropped max_open_sockets
from 4 to 2). Any other inbound HTTP at the same instant would
either queue or error.
2. The 1.5s timeout was tight given the firmware now juggles a live
stream socket on port 81 (with occasional cap-flush reconnects)
alongside the httpd workers on port 80.
Sequence the two fetches and bump the timeout to 3s. Total worst-case
6s if both are slow; that's fine for a Settings page, far from
"feels offline."
Diffstat (limited to 'TESTING.md')
0 files changed, 0 insertions, 0 deletions
