Skip to content

INC-b0353f: increase probe timeout for uk-ea-flood-monitoring - #304

Merged
whiteknightonhorse merged 1 commit into
mainfrom
ci-staging
Sep 10, 2026
Merged

whiteknightonhorse merged 1 commit into
mainfrom
ci-staging

Conversation

@whiteknightonhorse

Copy link
Copy Markdown
Owner

Fixes timeout issue where GET probes fail for slow endpoints like uk-ea-flood-monitoring

Changes:

  • Increase MAX_PROBE_TIMEOUT_MS from 15s to 25s
  • Set provider timeout_ms to 25s

Root Cause: Endpoint TLS handshake can take 20+s, previous 15s timeout insufficient

Testing: Verified with fetch() timeout measurements

- Raise MAX_PROBE_TIMEOUT_MS from 15s to 25s (measured latency: HEAD up to 21.8s, GET 15-20s)
- Set uk-ea-flood-monitoring provider timeout_ms to 25s
- Root cause: slow TLS handshake on environment.data.gov.uk endpoint causes probes to fail
- Previous fix (GET method) was correct but insufficient due to timeout ceiling

Measurements:
- GET with 15s timeout: FAIL (hits timeout wall)
- GET with 20s timeout: OK (3.9s actual)
- GET with 30s timeout: OK (7.2s actual)
- HEAD varies: 5.2s to 21.8s
@whiteknightonhorse
whiteknightonhorse merged commit cde8159 into main Sep 10, 2026
28 checks passed

This branch was successfully deployed

1 active deployment
production — cde81593 Deployed Sep 10, 2026 by whiteknightonhorse via Deploy to Production #911
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