Try batches of 40
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Amy 2022-06-04 18:42:27 -04:00
parent 11c939db53
commit 01a3e0f5ad
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export async function optimizeImages() {
const numberOfWorkers = Math.min(cpus().length, 8);
const imagePool = new ImagePool(numberOfWorkers);
const batchSize = 48;
const batchSize = 40;
for (let i = 0; i < imagePaths.length; i += batchSize) {
await Promise.all(