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 88a59b5 commit 435606bCopy full SHA for 435606b
scripts/generate-md-exports.mjs
@@ -35,7 +35,9 @@ async function createWork() {
35
await mkdir(OUTPUT_DIR, {recursive: true});
36
37
// On a 16-core machine, 8 workers were optimal (and slightly faster than 16)
38
- const numWorkers = Math.max(Math.floor(cpus().length / 2), 2);
+ // 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
+ const numWorkers = Math.max(Math.floor(cpus().length / 2), 4);
41
const workerTasks = new Array(numWorkers).fill(null).map(() => []);
42
43
console.log(`🔎 Discovering files to convert...`);
0 commit comments