Etapa G: worker auto-escala JOBS a nproc (resize del VPS sin tocar config)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-24 06:11:30 -04:00
co-authored by Claude Opus 4.8
parent d1e4daccff
commit b61815a602
+3 -2
View File
@@ -8,8 +8,9 @@ Type=simple
WorkingDirectory=/opt/hammer
Environment=HOME=/root
Environment=HAMMER_DIR=/opt/hammer
# JOBS = vCPU (cada build usa 1 core por codegen-units=1). CCX13 = 2.
Environment=JOBS=2
# JOBS no se fija: el loop usa nproc por defecto (cada build usa 1 core por codegen-units=1).
# Así, al REPOTENCIAR la caja (CCX13→CCX23/33), el worker auto-escala los slots sin tocar config.
# La línea CCX da ~4GB RAM/core ⇒ nproc slots quedan con margen para builds Rust + swap.
ExecStart=/opt/hammer/scripts/farm/farm-worker-loop.sh
Restart=always
RestartSec=30