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.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a9f1766..88e490c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,8 @@ tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } futures = "0.3" itertools = "0.10" +num_cpus = "1" +once_cell = "1" gitlab = "0.1408" graphql_client = "0.10" -- cgit v1.2.3