Skip to content

Commit 233f2e9

Browse files
committed
Only upload one release artifact at a time
1 parent f39d4eb commit 233f2e9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/github.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,8 @@ pub async fn command_fetch_release_distributions(args: &ArgMatches) -> Result<()
207207
.await?;
208208

209209
for artifact in artifacts {
210-
if matches!(
211-
artifact.name.as_str(),
212-
"pythonbuild" | "toolchain"
213-
) || artifact.name.contains("install-only")
210+
if matches!(artifact.name.as_str(), "pythonbuild" | "toolchain")
211+
|| artifact.name.contains("install-only")
214212
{
215213
continue;
216214
}
@@ -515,7 +513,7 @@ pub async fn command_upload_release_distributions(args: &ArgMatches) -> Result<(
515513
));
516514
}
517515

518-
let mut buffered = futures::stream::iter(fs).buffer_unordered(16);
516+
let mut buffered = futures::stream::iter(fs).buffer_unordered(1);
519517

520518
while let Some(res) = buffered.next().await {
521519
res?;

0 commit comments

Comments
 (0)