Skip to content

Commit

Permalink
Merge pull request #251 from serokell/rvem/add-missing-activation-tim…
Browse files Browse the repository at this point in the history
…eout-documentation

[Chore] Add missing documentation for timeout options
  • Loading branch information
rvem authored Dec 20, 2023
2 parents 9153275 + 56ba8c3 commit b709d63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,19 @@ This is a set of options that can be put in any of the above definitions, with t
# Will also fetch all external dependencies from the target system's substituters.
# This default to `false`
remoteBuild = true;
# Timeout for profile activation.
# This defaults to 240 seconds.
activationTimeout = 600;
# Timeout for profile activation confirmation.
# This defaults to 30 seconds.
confirmTimeout = 60;
}
```

Some of these options can be provided during `deploy` invocation to override default values or values provided in your flake, see `deploy --help`.

## About Serokell

deploy-rs is maintained and funded with ❤️ by [Serokell](https://serokell.io/).
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct Opts {
/// How long activation should wait for confirmation (if using magic-rollback)
#[clap(long)]
confirm_timeout: Option<u16>,
/// How long we should wait for profile activation (if using magic-rollback)
/// How long we should wait for profile activation
#[clap(long)]
activation_timeout: Option<u16>,
/// Where to store temporary files (only used by magic-rollback)
Expand Down

0 comments on commit b709d63

Please sign in to comment.