mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 14:04:06 +02:00
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
This commit is contained in:
parent
4f3b579db3
commit
080a5a9377
1
build.sh
1
build.sh
@ -94,6 +94,7 @@ log_msg "Building website";
|
|||||||
# This causes the eleventy docs site to minify stuff
|
# 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
|
# Note that this is NOT before the npm install, as npm doesn't install everything if we do that
|
||||||
export NODE_ENV=production;
|
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;
|
npm run build;
|
||||||
|
|
||||||
if [[ ! -d "_site" ]]; then
|
if [[ ! -d "_site" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user