From 672a4da42f5630b3dc6380be49b2e2822bbaedc1 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sat, 11 Sep 2021 15:09:16 +0500 Subject: [PATCH] Reduce the ParallelDownloads threads to 3 --- create-arch-bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index 6feade7..e5c6d5b 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -173,8 +173,9 @@ echo >> "${bootstrap}"/etc/pacman.conf echo "[chaotic-aur]" >> "${bootstrap}"/etc/pacman.conf echo "Include = /etc/pacman.d/chaotic-mirrorlist" >> "${bootstrap}"/etc/pacman.conf -# Enable ParallelDownloads feature of pacman -sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 5/g' "${bootstrap}"/etc/pacman.conf +# The ParallelDownloads feature of pacman +# Speeds up packages installation, especially when there are many small packages to install +sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 3/g' "${bootstrap}"/etc/pacman.conf run_in_chroot pacman -Syu --noconfirm