Skip to content

Commit

Permalink
unix: set Acquire::Queue-Mode "host"
Browse files Browse the repository at this point in the history
This reduces parallelism to hopefully avoid rate limiting.

As suggested by #177.
  • Loading branch information
indygreg committed Jul 20, 2023
1 parent b592ee1 commit e784190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpython-unix/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN for s in debian_jessie debian_jessie-updates debian-security_jessie/updates;
echo 'APT::Get::Assume-Yes "true";'; \
echo 'APT::Install-Recommends "false";'; \
echo 'Acquire::Check-Valid-Until "false";'; \
echo 'Acquire::Queue-Mode "host";'; \
echo 'Acquire::Retries "5";'; \
) > /etc/apt/apt.conf.d/99cpython-portable

Expand Down
1 change: 1 addition & 0 deletions cpython-unix/build.cross.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN for s in debian_stretch debian_stretch-updates debian-security_stretch/updat
echo 'APT::Get::Assume-Yes "true";'; \
echo 'APT::Install-Recommends "false";'; \
echo 'Acquire::Check-Valid-Until "false";'; \
echo 'Acquire::Queue-Mode "host";'; \
echo 'Acquire::Retries "5";'; \
) > /etc/apt/apt.conf.d/99cpython-portable

Expand Down

0 comments on commit e784190

Please sign in to comment.