Skip to content

Bump prerender concurrency to 3#710

Closed
bryantgillespie wants to merge 1 commit into
mainfrom
bry/test-prerender-concurrency
Closed

Bump prerender concurrency to 3#710
bryantgillespie wants to merge 1 commit into
mainfrom
bry/test-prerender-concurrency

Conversation

@bryantgillespie
Copy link
Copy Markdown
Member

What

Bumps Nitro prerender concurrency from 1 to 3 to speed up builds.

Why

concurrency: 1 was set to keep peak memory under the Vercel build ceiling back when per-route API-reference rendering (Shiki highlighting + large OAS payloads) was OOM-killing the build. The pre-render precompute work (#708) moved that expensive highlighting to a build-time step, making each route render much lighter — so parallel renders should now fit comfortably.

This is a test to see how far we can push concurrency without OOMing. Starting conservative at 3.

Verification

  • pnpm build completes clean locally with concurrency: 3 — no OOM, no ENOTDIR.
  • 430 pages prerendered, including /api index + all per-tag reference pages.
  • api/ output is a proper directory (index + per-tag subdirs), no payload-cache file/dir collision.

Watch on deploy

Vercel build memory. If it OOMs, revert this single commit; if it's clean with headroom, we can try higher.

@bryantgillespie bryantgillespie requested a review from a team as a code owner June 2, 2026 16:39
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 2, 2026 4:42pm

Request Review

@bryantgillespie
Copy link
Copy Markdown
Member Author

wasn't the problem

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