Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/concepts/dev-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ retry:

!!! info "Retry duration"
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..
and as a time passed since the last `interruption` and `error` for `interruption` and `error` events.

### Inactivity duration

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/concepts/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ If one replica of a multi-replica service fails with retry enabled,
`dstack` will resubmit only the failed replica while keeping active replicas running.

!!! info "Retry duration"
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..
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.

### Spot policy

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/concepts/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ If one job of a multi-node task fails with retry enabled,
`dstack` will stop all the jobs and resubmit the run.

!!! info "Retry duration"
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..
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.

### Priority

Expand Down
3 changes: 2 additions & 1 deletion src/dstack/_internal/core/models/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ class ProfileParams(CoreModel):
Optional[Union[Literal["off"], int]],
Field(
description=(
"The maximum duration of a run (e.g., `2h`, `1d`, etc)."
"The maximum duration of a run (e.g., `2h`, `1d`, etc)"
" in a running state, excluding provisioning and pulling."
" After it elapses, the run is automatically stopped."
" Use `off` for unlimited duration. Defaults to `off`"
)
Expand Down