Skip to content

Commit

Permalink
Fix hang on Terraform module on WASM (fixes #624)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Feb 17, 2024
1 parent be36983 commit 8947715
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/terraform.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Pretend to run Terraform
use async_trait::async_trait;
use instant::Instant;
use rand::distributions::{Bernoulli, Distribution};
use rand::prelude::*;
use yansi::Paint;
Expand Down Expand Up @@ -41,7 +42,7 @@ impl Module for Terraform {
let mut destroyed = 0;

// Start counting time
let start = std::time::Instant::now();
let start = Instant::now();

// Randomize the cloud provider
let cloud = match rng.gen_range(0..3) {
Expand Down

0 comments on commit 8947715

Please sign in to comment.