Skip to content

Commit

Permalink
Log message to inform about publish grace sleeping.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebschmi committed Apr 19, 2021
1 parent d20e00b commit 2c866c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ fn release_packages<'m>(
// HACK: Even once the index is updated, there seems to be another step before the publish is fully ready.
// We don't have a way yet to check for that, so waiting for now in hopes everything is ready
if !dry_run {
log::info!("Waiting an additional {} seconds for crates.io to update its indices...", args.config.publish_grace_sleep);
std::thread::sleep(std::time::Duration::from_secs(args.config.publish_grace_sleep));
}
} else {
Expand Down

0 comments on commit 2c866c6

Please sign in to comment.