Skip to content

Commit

Permalink
fix(rust): add 15 seconds timeout to influx and confluent `addon conf…
Browse files Browse the repository at this point in the history
…igure` commands
  • Loading branch information
adrianbenavides authored and mrinalwadhwa committed Feb 21, 2023
1 parent 4225dbc commit 3885eba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions implementations/rust/ockam/ockam_command/src/project/addon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ async fn run_impl(

// Wait until project is ready again
println!("Getting things ready for project...");
tokio::time::sleep(std::time::Duration::from_secs(15)).await;

let project_id = config::get_project(&opts.config, &project_name)
.context("project not found in lookup")?;
Expand Down Expand Up @@ -442,6 +443,8 @@ async fn run_impl(

// Wait until project is ready again
println!("Getting things ready for project...");
tokio::time::sleep(std::time::Duration::from_secs(15)).await;

let project_id = config::get_project(&opts.config, &project_name)
.context("project not found in lookup")?;
let retry_strategy = FixedInterval::from_millis(5000).take(4);
Expand Down

0 comments on commit 3885eba

Please sign in to comment.