aboutsummaryrefslogtreecommitdiff
path: root/src/lib.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/lib.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 '')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0e5d817..663e26e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -163,6 +163,7 @@ pub struct CmdOverrides {
pub magic_rollback: Option<bool>,
pub temp_path: Option<PathBuf>,
pub confirm_timeout: Option<u16>,
+ pub activation_timeout: Option<u16>,
pub sudo: Option<String>,
pub dry_activate: bool,
pub remote_build: bool,
@@ -444,6 +445,9 @@ pub fn make_deploy_data<'a, 's>(
if let Some(confirm_timeout) = cmd_overrides.confirm_timeout {
merged_settings.confirm_timeout = Some(confirm_timeout);
}
+ if let Some(activation_timeout) = cmd_overrides.activation_timeout {
+ merged_settings.activation_timeout = Some(activation_timeout);
+ }
DeployData {
node_name,