Chiude le sessioni idle abbandonate prima che occupino slot e scalino Hetzner.

Il sweeper ora termina le idle dopo 30 minuti (cron ogni 10), così non restano appese a tenere accesi i warm-spare.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-16 07:43:34 +02:00
co-authored by Cursor
parent 2db6541c91
commit cc9c4a1120
7 changed files with 134 additions and 7 deletions
+2
View File
@@ -112,6 +112,8 @@ STREAM_AUTOSCALE_ALLOW_CLOUD=0
STREAM_AUTOSCALE_SOFT_FREE_SLOTS=2
STREAM_AUTOSCALE_WARM_SPARE=1
STREAM_AUTOSCALE_IDLE_MINUTES=30
STREAM_SESSION_IDLE_MINUTES=30
STREAM_SESSION_STALE_HOURS=6
STREAM_AUTOSCALE_MAX_NODES=12
STREAM_AUTOSCALE_NODE_EUR_PER_HOUR=0.015
STREAM_AUTOSCALE_MONTHLY_BUDGET_EUR=150