mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: make deno add
output more deterministic (#25083)
Will fix some flaky tests.
This commit is contained in:
parent
a3bd9fa529
commit
4cd95589ec
1 changed files with 1 additions and 1 deletions
|
@ -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?;
|
||||
|
|
Loading…
Reference in a new issue