Skip to content

feat: add support for gateway MaxRequestDuration option#350

Open
acejam wants to merge 1 commit intoipfs:mainfrom
filebase:main
Open

feat: add support for gateway MaxRequestDuration option#350
acejam wants to merge 1 commit intoipfs:mainfrom
filebase:main

Conversation

@acejam
Copy link
Contributor

@acejam acejam commented Mar 11, 2026

  • Add --max-request-duration CLI flag (RAINBOW_MAX_REQUEST_DURATION env var) to configure the Boxo gateway MaxRequestDuration option
  • Wire the config value through Config struct and into gateway.Config
  • Defaults to 1 hour, matching Boxo's DefaultMaxRequestDuration

If there are any issues with this PR, let me know, but please do not replace it. 🙂

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