From 7e73ebcad03a5477367763d4a5e9c22f9e9967ca Mon Sep 17 00:00:00 2001 From: Max Audron Date: Tue, 7 Jun 2022 12:28:18 +0200 Subject: process sync and update in parallel Split the repos up in x batches where x is either decided on based on number of cpu cores available or given by the --jobs argument --- Cargo.lock | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index df85de7..75c0bc5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -574,6 +574,8 @@ dependencies = [ "gitlab", "graphql_client", "itertools", + "num_cpus", + "once_cell", "serde", "thiserror", "tokio", -- cgit v1.2.3