aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorRoman Melnikov2023-11-02 11:37:22 +0100
committerGitHub2023-11-02 11:37:22 +0100
commit660180bbbeae7d60dad5a92b30858306945fd427 (patch)
tree6ed583eb0b5f14db704d031f4e6b5cdeba80d8ac /src/cli.rs
parentd50737080327575d78fe7490b20fcc3eba9f1d72 (diff)
parent50d640f4032c32d5bddab31af493670ba1773518 (diff)
Merge pull request #240 from serokell/rvem/make-wait-activation-timeout-configurable
[Chore] Make activation wait timeout configurable
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index cc17ea9..b25aed2 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -85,6 +85,9 @@ 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)
+ #[clap(long)]
+ activation_timeout: Option<u16>,
/// Where to store temporary files (only used by magic-rollback)
#[clap(long)]
temp_path: Option<PathBuf>,
@@ -658,6 +661,7 @@ pub async fn run(args: Option<&ArgMatches>) -> Result<(), RunError> {
magic_rollback: opts.magic_rollback,
temp_path: opts.temp_path,
confirm_timeout: opts.confirm_timeout,
+ activation_timeout: opts.activation_timeout,
dry_activate: opts.dry_activate,
remote_build: opts.remote_build,
sudo: opts.sudo,