Skip to content

Commit

Permalink
fix: avoid pypi deadlock (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Jan 31, 2024
1 parent 7a5ffd2 commit 80f5590
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/install_pypi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ fn stream_python_artifacts<'a>(
))
}
})
.buffer_unordered(20)
// TODO: put this back on 20 when there is not deadlock anymore.
.buffer_unordered(1)
.right_stream();

(download_stream, Some(pb))
Expand Down

0 comments on commit 80f5590

Please sign in to comment.