Try batches of 48
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
dde42f2dc0
commit
11c939db53
|
@ -46,7 +46,7 @@ export async function optimizeImages() {
|
|||
const numberOfWorkers = Math.min(cpus().length, 8);
|
||||
const imagePool = new ImagePool(numberOfWorkers);
|
||||
|
||||
const batchSize = 64;
|
||||
const batchSize = 48;
|
||||
|
||||
for (let i = 0; i < imagePaths.length; i += batchSize) {
|
||||
await Promise.all(
|
||||
|
|
Loading…
Reference in New Issue