Skip to content

fix(import): accept site archives up to the documented limit - #582

Draft
marcodantonio-netsons wants to merge 1 commit into
CoreBunch:mainfrom
marcodantonio-netsons:fix/site-import-request-limit
Draft

marcodantonio-netsons wants to merge 1 commit into
CoreBunch:mainfrom
marcodantonio-netsons:fix/site-import-request-limit

Conversation

@marcodantonio-netsons

Copy link
Copy Markdown

Site Import accepts archives up to 1 GiB, but Bun’s default 128 MiB HTTP body limit rejects larger bundles before the streaming archive handler runs. Set the server transport limit to 1 GiB and document the separate 256 MiB manifest limit.

Verified with a successful local import of a 602 MiB archive containing 1,602 pages, 754 shared components and 572 media assets. Also passed bun test (7,053 tests), bun run build, bun run lint and git diff --check. No database schema changes.

This branch has not been deployed

No deployments
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