Skip to content

Commit 14db582

Browse files
authored
Expand max_duration reference (#3292)
* Expand max_duration reference * Fix typo
1 parent 58a62f7 commit 14db582

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/docs/concepts/dev-environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ retry:
460460

461461
!!! info "Retry duration"
462462
The duration period is calculated as a run age for `no-capacity` event
463-
and as a time passed since the last `interruption` and `error` for `interruption` and `error` events..
463+
and as a time passed since the last `interruption` and `error` for `interruption` and `error` events.
464464

465465
### Inactivity duration
466466

docs/docs/concepts/services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ If one replica of a multi-replica service fails with retry enabled,
822822
`dstack` will resubmit only the failed replica while keeping active replicas running.
823823

824824
!!! info "Retry duration"
825-
The duration period is calculated as a run age for `no-capacity` event and as a time passed since the last `interruption` and `error` for `interruption` and `error` events..
825+
The duration period is calculated as a run age for `no-capacity` event and as a time passed since the last `interruption` and `error` for `interruption` and `error` events.
826826

827827
### Spot policy
828828

docs/docs/concepts/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ If one job of a multi-node task fails with retry enabled,
719719
`dstack` will stop all the jobs and resubmit the run.
720720

721721
!!! info "Retry duration"
722-
The duration period is calculated as a run age for `no-capacity` event and as a time passed since the last `interruption` and `error` for `interruption` and `error` events..
722+
The duration period is calculated as a run age for `no-capacity` event and as a time passed since the last `interruption` and `error` for `interruption` and `error` events.
723723

724724
### Priority
725725

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ class ProfileParams(CoreModel):
311311
Optional[Union[Literal["off"], int]],
312312
Field(
313313
description=(
314-
"The maximum duration of a run (e.g., `2h`, `1d`, etc)."
314+
"The maximum duration of a run (e.g., `2h`, `1d`, etc)"
315+
" in a running state, excluding provisioning and pulling."
315316
" After it elapses, the run is automatically stopped."
316317
" Use `off` for unlimited duration. Defaults to `off`"
317318
)

0 commit comments

Comments
 (0)