aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 4812223..bf9b7fe 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -116,6 +116,7 @@ fn run() -> anyhow::Result<()> {
// let mut joins = futures::stream::FuturesUnordered::new();
let mut joins = Vec::with_capacity(repos.len());
+ let mut i = 0;
for repo in repos {
let db = db.clone();
let mirror_root = mirror_root.clone();
@@ -135,6 +136,11 @@ fn run() -> anyhow::Result<()> {
});
joins.push(join);
+
+ if i == 5 {
+ break;
+ }
+ i += 1;
}
// executor::block_on(future::join_all(joins));