This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit bca0e5e3871d7f4eaebba65162d1d90d08d2b470 Author: Jarek Potiuk <[email protected]> AuthorDate: Fri May 24 14:37:25 2024 +0200 Limit concurrent downloads by UV (#39810) In some circumstances, the number of parallell downloads run by UV might hit local networking or proxy limits. This PR limits the number of concurrent downloads to number of processors that the docker container has to avoid those problems. (cherry picked from commit 5aee696e44095a9bf4d210b617b68b732b8f38ca) --- scripts/in_container/_in_container_utils.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/in_container/_in_container_utils.sh b/scripts/in_container/_in_container_utils.sh index 54e1b27ba7..ae94331d95 100644 --- a/scripts/in_container/_in_container_utils.sh +++ b/scripts/in_container/_in_container_utils.sh @@ -80,6 +80,8 @@ function in_container_get_packaging_tool() { fi export UPGRADE_EAGERLY="--upgrade --resolution highest" export UPGRADE_IF_NEEDED="--upgrade" + UV_CONCURRENT_DOWNLOADS=$(nproc --all) + export UV_CONCURRENT_DOWNLOADS else echo echo "${COLOR_BLUE}Using 'pip' to install Airflow${COLOR_RESET}"
