diff --git a/scripts/arty.sh b/scripts/arty.sh index c2f62616..579e2342 100755 --- a/scripts/arty.sh +++ b/scripts/arty.sh @@ -163,6 +163,11 @@ load_env_vars() { fi } +# Wrapper to limit Go thread usage on hosts with low ulimit -u (e.g. IONOS shared hosting) +yq() { + GOMAXPROCS=1 GOGC=off command yq "$@" +} + # Check if yq is installed check_yq() { if ! command -v yq &>/dev/null; then