Skip to content

HTTP hardening: timeouts for outbound calls#136

Merged
borisolver merged 1 commit intomainfrom
codex/http-timeouts
Feb 15, 2026
Merged

HTTP hardening: timeouts for outbound calls#136
borisolver merged 1 commit intomainfrom
codex/http-timeouts

Conversation

@borisolver
Copy link
Copy Markdown
Contributor

Optimization #3 (partial): add timeouts to outbound HTTP clients and reuse a single client per component where calls are per-request (auth-service validation/proxy, OSM tile fetch, etc.). This removes a class of hung-request failure modes and reduces connection churn.

Touched services/modules:

  • customer-service, areas-service, custom-area-dashboard, brand-dashboard: auth-service calls now have timeouts + request context
  • report-analyze-pipeline: OpenAI/Gemini clients now have timeouts; assistants API reuses the client
  • report-processor + gdpr-process-service: OpenAI clients now have timeouts
  • email-service + backend: OSM tile fetch uses a shared client w/ timeout
  • backend/stxn: solver call uses a timeout

No API shape changes.

@borisolver borisolver merged commit d47a33d into main Feb 15, 2026
9 checks passed
@borisolver borisolver deleted the codex/http-timeouts branch February 15, 2026 18:10
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