fedora bug fix
This commit is contained in:
+2
-6
@@ -83,12 +83,8 @@ say_cyan "Optimizing DNF for speed..."
|
|||||||
# 1. Enable fastest mirror (lowest latency)
|
# 1. Enable fastest mirror (lowest latency)
|
||||||
# 2. Increase parallel downloads (allows downloading multiple packages at once)
|
# 2. Increase parallel downloads (allows downloading multiple packages at once)
|
||||||
# 3. Set a minimum rate to drop slow mirrors automatically
|
# 3. Set a minimum rate to drop slow mirrors automatically
|
||||||
sudo tee -a /etc/dnf/dnf.conf <<EOF
|
sudo dnf config-manager setopt fastestmirror=1
|
||||||
fastestmirror=True
|
sudo dnf config-manager setopt max_parallel_downloads=20
|
||||||
max_parallel_downloads=25
|
|
||||||
minrate=100k
|
|
||||||
timeout=15
|
|
||||||
EOF
|
|
||||||
|
|
||||||
say_green "DNF optimized. Refreshing metadata..."
|
say_green "DNF optimized. Refreshing metadata..."
|
||||||
sudo dnf makecache --refresh
|
sudo dnf makecache --refresh
|
||||||
|
|||||||
Reference in New Issue
Block a user