diff --git a/package.json b/package.json index c2cd47ea..52306d6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homepage", - "version": "1.89.1", + "version": "1.89.2", "private": true, "type": "module", "scripts": { diff --git a/scripts/build-hikes.ts b/scripts/build-hikes.ts index 3ad780a0..a8b6052f 100644 --- a/scripts/build-hikes.ts +++ b/scripts/build-hikes.ts @@ -70,7 +70,7 @@ const VALID_DIFFICULTIES: readonly Difficulty[] = ['T1', 'T2', 'T3', 'T4', 'T5', // Sharp pipelines are CPU-heavy but release the JS thread while libvips runs, // so a small concurrency pool gives a near-linear speed-up. Cap at 4 to avoid // thrashing on smaller boxes (a single AVIF encode can saturate one core). -const IMAGE_CONCURRENCY = Math.max(2, Math.min(os.cpus().length, 4)); +const IMAGE_CONCURRENCY = Math.max(2, Math.min(os.cpus().length, 10)); async function pathExists(p: string): Promise { try {