From 080a5a93778a15f9c481afbd9b3cf335c45c3a03 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 5 Jun 2024 00:10:08 +0100 Subject: [PATCH] build: limit image processing to 2 processes at a time ....resizing 10 images at once is not going to end well on a raspberry pi --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index e10ec6d..8c15834 100755 --- a/build.sh +++ b/build.sh @@ -94,6 +94,7 @@ log_msg "Building website"; # This causes the eleventy docs site to minify stuff # Note that this is NOT before the npm install, as npm doesn't install everything if we do that export NODE_ENV=production; +export MAX_CONCURRENT=2; # Resizing 10 images at once is not going to end well on a raspberry pi npm run build; if [[ ! -d "_site" ]]; then