File tree Expand file tree Collapse file tree
src/dstack/_internal/core/models Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments