Skip to content

Commit

Permalink
Enable parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Jan 27, 2021
1 parent 52ae8a9 commit 0043c0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ fn main() -> Result<()> {
}

let results: Vec<Result<RepositoryInfo>> = repo_infos
//.into_par_iter()
//.progress()
.into_iter()
.into_par_iter()
.progress()
// Commend above and uncomment below for debug
//.into_iter()
.map(|repo_info| handle_repo(repo_info, &envs))
.collect();

Expand Down

0 comments on commit 0043c0b

Please sign in to comment.