Skip to content

Commit

Permalink
Bigger timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Jan 5, 2024
1 parent 2d4edb6 commit 97a7c77
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,18 @@ fn main() {
);
if do_publish {
let version_to_publish = get_version_to_publish(&crates);
println!("going to publish {}", version_to_publish);
println!(
"going to publish {} crates with version {}",
crates.len(),
version_to_publish
);

for p in crates {
publish(p, &commit, &version_to_publish);

// Give the crates time to make their way into the index
thread::sleep(Duration::from_secs(45));
// Additionally this tries to get around the upload rate limit
thread::sleep(Duration::from_secs(70));
}
}
}
Expand Down

0 comments on commit 97a7c77

Please sign in to comment.