Skip to content

Commit b709d63

Browse files
authored
Merge pull request #251 from serokell/rvem/add-missing-activation-timeout-documentation
[Chore] Add missing documentation for timeout options
2 parents 9153275 + 56ba8c3 commit b709d63

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,19 @@ This is a set of options that can be put in any of the above definitions, with t
218218
# Will also fetch all external dependencies from the target system's substituters.
219219
# This default to `false`
220220
remoteBuild = true;
221+
222+
# Timeout for profile activation.
223+
# This defaults to 240 seconds.
224+
activationTimeout = 600;
225+
226+
# Timeout for profile activation confirmation.
227+
# This defaults to 30 seconds.
228+
confirmTimeout = 60;
221229
}
222230
```
223231

232+
Some of these options can be provided during `deploy` invocation to override default values or values provided in your flake, see `deploy --help`.
233+
224234
## About Serokell
225235

226236
deploy-rs is maintained and funded with ❤️ by [Serokell](https://serokell.io/).

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub struct Opts {
8585
/// How long activation should wait for confirmation (if using magic-rollback)
8686
#[clap(long)]
8787
confirm_timeout: Option<u16>,
88-
/// How long we should wait for profile activation (if using magic-rollback)
88+
/// How long we should wait for profile activation
8989
#[clap(long)]
9090
activation_timeout: Option<u16>,
9191
/// Where to store temporary files (only used by magic-rollback)

0 commit comments

Comments
 (0)