Update idle time configuration to improve resource management

- Reduced default values for IDLE_MINUTES from 60 to 30 and IDLE_GRACE_MINUTES from 90 to 45 across configuration files and documentation.
- Updated related documentation to reflect the new default idle time settings, ensuring consistency in user guidance and system behavior.
This commit is contained in:
Leonid Pershin
2026-08-21 08:35:43 +03:00
parent 6871c511c4
commit 9a4b87dc06
9 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -255,8 +255,8 @@ def load_config(*, require_auth: bool = True) -> Config:
scan_pools=(os.environ.get("SCAN_POOLS") or "ru-6,ru-7").strip(),
default_spot=_as_bool(os.environ.get("DEFAULT_SPOT"), True),
keep_floating_ip=_as_bool(os.environ.get("KEEP_FLOATING_IP"), False),
idle_minutes=_as_int(os.environ.get("IDLE_MINUTES"), 60),
idle_grace_minutes=_as_int(os.environ.get("IDLE_GRACE_MINUTES"), 90),
idle_minutes=_as_int(os.environ.get("IDLE_MINUTES"), 30),
idle_grace_minutes=_as_int(os.environ.get("IDLE_GRACE_MINUTES"), 45),
pull_output=_as_bool(os.environ.get("PULL_OUTPUT"), False),
notify_ready=_as_bool(os.environ.get("NOTIFY_READY"), True),
# Default on: failed up must not leave a billing GPU running.