Skip to content

fix(config): abort config fetch at 12s, not 5s - #875

Merged
danieltruong merged 2 commits into
reactfrom
fix-config-timeout
Sep 10, 2026
Merged

fix(config): abort config fetch at 12s, not 5s#875
danieltruong merged 2 commits into
reactfrom
fix-config-timeout

Conversation

@danieltruong

Copy link
Copy Markdown
Collaborator

The DEMI Function on Flex Consumption cold-starts in more than 5 s. With a 5 s abort the first /demi-search/config fetch after idle failed and first paint waited for the retry.

Per-attempt abort goes from 5 s to 12 s. eao-nginx PR #67 raises its read timeout on that route to 10 s (1 s connect, 11 s worst case), so nginx still gives up before the browser. Attempts stay at 3. New spec asserts the abort is longer than nginx's 11 s.

Seen 2026-09-10 23:04 UTC on the next site during the eagle-api scale-to-0 check.

DEMI on Flex Consumption cold-starts in more than 5s. eao-nginx now
gives up at 11s on /demi-search/config (PR #67), so the browser must
abort after nginx or the first paint waits for a retry.
@danieltruong
danieltruong merged commit b844f7b into react Sep 10, 2026
8 checks passed
@danieltruong
danieltruong deleted the fix-config-timeout branch September 10, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant