diff --git a/docs/docs/concepts/dev-environments.md b/docs/docs/concepts/dev-environments.md index cfaeb689cb..bee28cfbe3 100644 --- a/docs/docs/concepts/dev-environments.md +++ b/docs/docs/concepts/dev-environments.md @@ -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 diff --git a/docs/docs/concepts/services.md b/docs/docs/concepts/services.md index 223bd311bc..6404c2bd1a 100644 --- a/docs/docs/concepts/services.md +++ b/docs/docs/concepts/services.md @@ -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 diff --git a/docs/docs/concepts/tasks.md b/docs/docs/concepts/tasks.md index 59a6f5fce7..a196ec6fea 100644 --- a/docs/docs/concepts/tasks.md +++ b/docs/docs/concepts/tasks.md @@ -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 diff --git a/src/dstack/_internal/core/models/profiles.py b/src/dstack/_internal/core/models/profiles.py index a29b8d84b6..7fae65e762 100644 --- a/src/dstack/_internal/core/models/profiles.py +++ b/src/dstack/_internal/core/models/profiles.py @@ -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`" )