We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435606b commit ad400e2Copy full SHA for ad400e2
scripts/generate-md-exports.mjs
@@ -37,6 +37,7 @@ async function createWork() {
37
// On a 16-core machine, 8 workers were optimal (and slightly faster than 16)
38
// Putting 4 as the minimum as Vercel has 4 cores per builder and it may help
39
// us cut down some of the time there.
40
+ // Source: https://vercel.com/docs/limits#build-container-resources
41
const numWorkers = Math.max(Math.floor(cpus().length / 2), 4);
42
const workerTasks = new Array(numWorkers).fill(null).map(() => []);
43
0 commit comments