Skip to content

chore(api): enable request timeout#2161

Closed
jakubno wants to merge 1 commit into
mainfrom
revert-2156-chore/disable-timeout
Closed

chore(api): enable request timeout#2161
jakubno wants to merge 1 commit into
mainfrom
revert-2156-chore/disable-timeout

Conversation

@jakubno
Copy link
Copy Markdown
Member

@jakubno jakubno commented Mar 18, 2026

Reverts #2156


Note

Medium Risk
Enabling a hard 60s request context deadline can cause previously-long requests to start failing with 408s and may surface cancellation-related bugs in downstream calls that weren’t context-aware.

Overview
Re-enables a global 60s per-request context timeout in the API by defining requestTimeout and wiring customMiddleware.RequestTimeout into the Gin middleware chain, so handlers and blocking upstream calls are canceled on deadline and requests can return 408 Request Timeout when no response was written.

Written by Cursor Bugbot for commit 99e50a4. This will update automatically on new commits. Configure here.

@jakubno jakubno closed this Mar 20, 2026
@jakubno jakubno deleted the revert-2156-chore/disable-timeout branch March 20, 2026 15:15
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.

2 participants