diff options
| author | Luke Hoersten <[email protected]> | 2026-06-21 10:56:49 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-21 10:56:49 -0500 |
| commit | 356e637b412bd8bcbbc83afa768cf7b00fabd67f (patch) | |
| tree | 2b5ff9b9e81924f05078cf882ee2f7e5db2ad312 /main/nvs_config.h | |
| parent | 7ce51d61f0b7537002c5b0d415cac67391a2b235 (diff) | |
scrypted: retry once on Settings-page /state /config fetch failure
The Settings 'Status (live)' section reaches the device via two
sequential GETs. A transient socket-level failure (httpd worker
pool briefly saturated by the active stream connection, mid-reboot
window, network jitter) used to leave the page showing
'device: offline / unreachable (fetch failed)' even though the
device was fine — a refresh would clear it.
One automatic 250 ms-backoff retry on either GET removes the
sporadic false positive. The 3 s per-request timeout stays the
same, so the worst-case page latency on a genuinely offline device
is ~6.5 s (3 + 0.25 + 3) instead of 3 s — acceptable for a
deliberate Settings open.
Diffstat (limited to 'main/nvs_config.h')
0 files changed, 0 insertions, 0 deletions
