From 26f39775b996326dd2b69db6847764c7cd004619 Mon Sep 17 00:00:00 2001 From: Jvst Me Date: Mon, 27 Apr 2026 18:06:14 +0200 Subject: [PATCH] [Docs]: Update `scale_up/down_delay` descriptions --- .../_internal/core/models/configurations.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/dstack/_internal/core/models/configurations.py b/src/dstack/_internal/core/models/configurations.py index 9f90b4037..5a9ea8554 100644 --- a/src/dstack/_internal/core/models/configurations.py +++ b/src/dstack/_internal/core/models/configurations.py @@ -222,10 +222,22 @@ class ScalingSpec(CoreModel): ), ] scale_up_delay: Annotated[ - Duration, Field(description="The delay in seconds before scaling up") + Duration, + Field( + description=( + "The minimum time, in seconds, between a scaling event and the next scale-up decision." + " Used to prevent overly frequent scaling" + ) + ), ] = Duration.parse("5m") scale_down_delay: Annotated[ - Duration, Field(description="The delay in seconds before scaling down") + Duration, + Field( + description=( + "The minimum time, in seconds, between a scaling event and the next scale-down decision." + " Used to prevent overly frequent scaling" + ) + ), ] = Duration.parse("10m")