Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -108,7 +108,7 @@ if nvidia-smi >/dev/null 2>&1; then
|
|
| 108 |
if [ "${DISABLE_BUILDER:-0}" -eq 0 ]; then
|
| 109 |
echo "Executando builder Apex/Q8..."
|
| 110 |
chmod +x /app/builder.sh || true
|
| 111 |
-
timeout "${BUILDER_TIMEOUT_SEC:-
|
| 112 |
else
|
| 113 |
echo "Builder desabilitado por DISABLE_BUILDER=1"
|
| 114 |
fi
|
|
|
|
| 108 |
if [ "${DISABLE_BUILDER:-0}" -eq 0 ]; then
|
| 109 |
echo "Executando builder Apex/Q8..."
|
| 110 |
chmod +x /app/builder.sh || true
|
| 111 |
+
timeout "${BUILDER_TIMEOUT_SEC:-7200000}" bash -lc /app/builder.sh || echo "Builder excedeu tempo/erro, prosseguindo."
|
| 112 |
else
|
| 113 |
echo "Builder desabilitado por DISABLE_BUILDER=1"
|
| 114 |
fi
|