Loading tools/publisher/src/publish.rs +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ pub async fn publish(handle: &PackageHandle, crate_path: &Path) -> anyhow::Resul run_with_retry( &format!("Publishing `{}`", handle), 5, Duration::from_secs(30), Duration::from_secs(60), || async { cargo::Publish::new(handle.clone(), &crate_path) .spawn() Loading tools/publisher/src/subcommand/publish.rs +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ pub async fn subcommand_publish( publish(&package.handle, &package.crate_path).await?; // Keep things slow to avoid getting throttled by crates.io tokio::time::sleep(Duration::from_secs(2)).await; tokio::time::sleep(Duration::from_secs(5)).await; // Sometimes it takes a little bit of time for the new package version // to become available after publish. If we proceed too quickly, then Loading Loading
tools/publisher/src/publish.rs +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ pub async fn publish(handle: &PackageHandle, crate_path: &Path) -> anyhow::Resul run_with_retry( &format!("Publishing `{}`", handle), 5, Duration::from_secs(30), Duration::from_secs(60), || async { cargo::Publish::new(handle.clone(), &crate_path) .spawn() Loading
tools/publisher/src/subcommand/publish.rs +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ pub async fn subcommand_publish( publish(&package.handle, &package.crate_path).await?; // Keep things slow to avoid getting throttled by crates.io tokio::time::sleep(Duration::from_secs(2)).await; tokio::time::sleep(Duration::from_secs(5)).await; // Sometimes it takes a little bit of time for the new package version // to become available after publish. If we proceed too quickly, then Loading