Skip to content

Commit

Permalink
fix: make deno add output more deterministic (#25083)
Browse files Browse the repository at this point in the history
Will fix some flaky tests.
  • Loading branch information
dsherret authored Aug 18, 2024
1 parent a3bd9fa commit 4cd9558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/tools/registry/pm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ pub async fn add(
.collect::<Vec<_>>();

let stream_of_futures = deno_core::futures::stream::iter(package_futures);
let mut buffered = stream_of_futures.buffer_unordered(10);
let mut buffered = stream_of_futures.buffered(10);

while let Some(package_and_version_result) = buffered.next().await {
let package_and_version = package_and_version_result?;
Expand Down

0 comments on commit 4cd9558

Please sign in to comment.