Skip to content

feat(backend): add request timeout middleware - #620

Open
woahwhattheheck wants to merge 6 commits into
Protocol-Guild:mainfrom
woahwhattheheck:wire/pyd-549-timeout
Open

woahwhattheheck wants to merge 6 commits into
Protocol-Guild:mainfrom
woahwhattheheck:wire/pyd-549-timeout

Conversation

@woahwhattheheck

Copy link
Copy Markdown

Closes #549

Adds request timeout middleware: 30s default, 120s for bulk/batch/import/export paths, HTTP 504 with a clear message on timeout, and timer cleanup when the response finishes.

woahwhattheheck and others added 5 commits September 24, 2026 15:26
Default 30s; bulk/batch/import/export 120s; respond 504 on timeout.
Closes Protocol-Guild#549
GitHub Actions rejects retention-days at the workflow root, which
made build/secrets-check/contract-release/dapp-ipfs fail with zero
jobs on push. Artifact retention in e2e.yml is unchanged.
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.

Add request timeout middleware for all backend routes

1 participant