Skip to content

🎥 Make videos programmatically with React

reduce concurrency even more

Jonny Burger40dc260d9549
diff --git a/packages/google-fonts/scripts/generate.ts b/packages/google-fonts/scripts/generate.ts
index c58fc88c25..167686f2a9 100644
--- a/packages/google-fonts/scripts/generate.ts
+++ b/packages/google-fonts/scripts/generate.ts
@@ -176,12 +176,12 @@ const run = async () => {
// create queue
const queue = new PQueue({
- concurrency: 5,
+ concurrency: 3,
});
// Batch convert
for (const font of googleFonts) {
- queue.add(async () => await generate(font));
+ queue.add(() => generate(font));
}
// wait queue