Skip to content

Commit fac6367

Browse files
authored
[Docs]: Update scale_up/down_delay descriptions (#3831)
1 parent 67a663e commit fac6367

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

src/dstack/_internal/core/models/configurations.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,22 @@ class ScalingSpec(CoreModel):
222222
),
223223
]
224224
scale_up_delay: Annotated[
225-
Duration, Field(description="The delay in seconds before scaling up")
225+
Duration,
226+
Field(
227+
description=(
228+
"The minimum time, in seconds, between a scaling event and the next scale-up decision."
229+
" Used to prevent overly frequent scaling"
230+
)
231+
),
226232
] = Duration.parse("5m")
227233
scale_down_delay: Annotated[
228-
Duration, Field(description="The delay in seconds before scaling down")
234+
Duration,
235+
Field(
236+
description=(
237+
"The minimum time, in seconds, between a scaling event and the next scale-down decision."
238+
" Used to prevent overly frequent scaling"
239+
)
240+
),
229241
] = Duration.parse("10m")
230242

231243

0 commit comments

Comments
 (0)