From 8972b3d088f8c2b9ac78f35f9436639eb49f46db Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 13 Jun 2021 19:58:44 +0200 Subject: run(): Remove limit to two repositories used for testing I artificially limited the number of repositories processed to two for testing so that I wouldn't download an mirror all of my repositories while testing the program. Now that things seem to be working, remove this artificial limit. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 52820a8..d256e1b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,7 +118,7 @@ fn run() -> Result<(), MultiError> { db.create() .context("unable to create database")?; - let errors: Vec<_> = repos[..2] + let errors: Vec<_> = repos .par_iter() .map(|repo| { dbg!("Thread", std::thread::current().id()); -- cgit v1.2.3